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 tag. Various elements enable you to place text in your HTML document. We see the paragraph element on line 14

Welcome to Our Web Site!

All text placed between the

tags forms one paragraph. Most Web browsers render paragraphs as set apart from all other material on the page by a line of vertical space both before and after the paragraph. The HTML in line 12 causes Internet Explorer to render the enclosed text as shown in Fig. I.1. Our code example ends on lines 16 and 17 with These two tags close the body and HTML sections of the document, respectively. As discussed earlier, the last tag in any HTML document should be , which tells the browser that all HTML coding is complete. The closing tag is placed before the tag because the body section of the document is entirely enclosed by the HTML section. Therefore, the body section must be closed before the HTML section.
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.

Leave a Reply