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

Head Structure

Look closely at the shell and you'll see that following the <HTML> tag there's a <HEAD> tag, which is closed a few lines down. This is the HEAD of your document. The information that goes into the head of a document includes the following:

  • Page title— The <TITLE> and corresponding </TITLE> tag allow you to select a page title. This title does not appear in the body of an HTML page—in other words, when the document is viewed with a browser, this information will not be seen in the main viewing screen. Where it will appear is within the title bar of the browser's interface. Note that you cannot add any other HTML tags into a TITLE element. However, you can use special characters.

  • Scripting— Any script that will be performed on a page, such as JavaScript, is embedded into the head of a document. Remember, I said that much of the HEAD is used for mental processes rather than visual ones. A script is a perfect example of this, as it is itself an invisible process, although its results will shape the action and behavior of a page.

  • Style— For those coders interested in adding control and style to their pages with HTML 4.0, Cascading Style Sheets can be embedded into or linked to from a Web page. This information will appear within the HEAD of an HTML document.

  • METAinformation—The META tag is a diverse and powerful tag that allows for a variety of mental rather than visual processes such as document author, search words, and special action items.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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