• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Introduction to JavaScript > Entering Scripts in Your Web Documents

Entering Scripts in Your Web Documents

JavaScript is simply more plain-text markup that you’re adding to your Web pages, so you don’t need any new applications or tools. That said, a text-based editor that includes a JavaScript reference is always helpful, and you may want to have the JavaScript guide from Netscape open in a Web browser window as you work (it’s at http://developer.netscape.com/docs/manuals/js/client/jsguide/index.htm). It’s also important to test your scripts carefully in as many Web browsers as you can—including Internet Explorer, Netscape, and others—in different version numbers, and for different computing platforms. If you’re using JavaScript for business or organizational use, testing is very important.

JavaScript authoring involves a new element, the <script> element. Although the element is your typical XHTML container element, what isn’t typical is that you’ll need to hide the <script> element within your page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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