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

Part: I Welcome to JavaScript > Combining JavaScript and HTML

Chapter 2. Combining JavaScript and HTML

The first thing you need to understand if you want to learn how to write JavaScript is how the JavaScript and HTML of a Web page come together. In this chapter, you will learn just that.

This chapter teaches you about the following:

  • How JavaScript is added to the HTML of a Web page

  • The importance of the <head> tag

  • What the <script> block is and how to add it to a Web page

  • How to hide JavaScript from older, non–JavaScript-enabled browsers


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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