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

Embedding Style Sheets

As with JavaScript, the browser interprets CSS as HTML unless you tell it otherwise. Style tags do for CSS what the script tags do for JavaScript. They tell the browser to treat everything between them as CSS, not HTML:

<html>
  <head>
    <title>Page Title</title>
    <style type="text/css">
      /* The CSS code goes here. */
    </style>
  </head>
  <body>
    <!-- The content of the page goes here. -->
  </body>
</html>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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