Share this Page URL

Chapter 8. HTML Overview > HTML Tags - Pg. 104

by the W3C, it is clearly labeled as such. In this way, I hope to paint a complete picture of HTML while endorsing the standard. The Future of HTML According to the W3C, HTML 4.01 is the end of the line for HTML as we know it. The next version of HTML is the XHTML Version 1.0 specification. XHTML is the same HTML specification as we know it today, but rewritten using the new-and- improved rules of XML (Extensible Markup Language). XHTML uses all the same HTML 4.01 tags, but it enforces a set of rules (such as closing all tags, putting at- tribute values in quotation marks, and keeping tags all lowercase) that make a docu- ment "well-formed." Well-formed XHTML will work in next-generation XML-based browsers, where HTML will not. Our current HTML coding standards are incred- ibly lax by comparison. These topics are discussed further in Chapter 30 and Chapter 31. HTML Tags Elements in the HTML specification are indicated by tags. An HTML tag is made up of the element name followed by an optional list of attributes, all of which appears between angle brackets ( < > ). Nothing within the brackets is displayed in the browser. The tag name is generally an abbreviation of the element's name or the tag's function (this makes them fairly simple to learn). Attributes are properties that ex-