1378 Introduction to HyperText Markup Language 4: Part (Web hosts)
1378 Introduction to HyperText Markup Language 4: Part 1 Appendix I ple. In subsequent examples, we also include comments in the markup, especially when we introduce new features. Every HTML document contains a head element, which generally contains information about the document, and a body element, which contains the page content. Information in the head element is not generally rendered in the display window, but may be made available to the user through other means. Lines 8 10
show the headelement section of our Web page. Including a title element is required for every HTML document. To include a title in your Web page, enclose your chosen title between the pair of tags in the head element. Good Programming Practice I.5 Use a consistent title-naming convention for all pages on your site. For example, if your site is called Al s Web Site, then the title of your links page might best be Al s Web Site - Links . This practice presents a clearer picture to those browsing your site. The title element names your Web page. The title usually appears on the colored bar at the top of the browser window, and also will appear as the text identifying your page if a user adds your page to their list of Favorites or Bookmarks. The title is also used by search engines for cataloging purposes, so picking a meaningful title can help search engines direct a more focused group of people to your site. Line 12 opens the body element. The body of an HTML document is the area where you place the content of your document. This includes text, images, links and forms. We discuss many elements that can be inserted in the body element later in this appendix. Remember to include the end tag before the closing