• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Inline JavaScript

Inline JavaScript is JavaScript that has been typed directly into the HTML tags of a Web page. This method is again simple, but what it gains in simplicity it lacks in power. Inline JavaScript is best suited to simple examples, and any complex JavaScript is best left to one of the other methods.

Here is an example of an inline JavaScript that brings up a prompt box:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint