Share this Page URL
Help

Chapter 2. Quick Start > The Flesh on an HTML or XHTML Document - Pg. 19

ular browsers typically display the title at the top of the document's window onscreen. Section 3.7.2 The Flesh on an HTML or XHTML Document Except for the <html> , <head> , <body> , and <title> tags, the HTML and XHTML stand- ards have few other required structural elements. You're free to include pretty much anything else in the contents of your document. (The web surfers among you know that authors have taken full advantage of that freedom, too.) Perhaps surprisingly, though, there are only three main types of HTML/XHTML content: tags (which we described previously), comments, and text. Comments A raw document with all its embedded tags can quickly become nearly unreadable, like computer-programming source code. We strongly recommend that you use comments to guide your composing eye. Although it's part of your document, nothing in a comment, including the body of your comment that goes between the special starting tag <!-- and ending tag delimiters -- > gets included in the browser display of your document. Now you see a comment in the source, like in our simple HTML example, and now you don't on the display, as evidenced by our comment's absence in Figure 2-1. Anyone can download the source