Appendix A. XHTML Reference

THIS HTML REFERENCE covers the common attributes and tags of XHTML 1.0 Strict.

If it’s not here then there’s a good reason for not using it. A brief overview of some of the more common “Bad Tags & Rotten Attributes” can be found at the end of this appendix.

More details of tag and attribute usage can be found in the indicated chapters and the syntax and application of HTML can be found in Chapter 1, “Getting Started.”

Tags

The possible attributes that can be used in a tag will take one of these formats (see Chapter 1, “Getting Started,” for more):

• attributename—An optional attribute, such as href in <a href=”alaska.html”>.

• attributename (required)—An attribute that must be used.

• [Core attributes]—A collection ...

Get HTML Dog: The Best-Practice Guide to XHTML & CSS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.