Appendix A. XHTML and CSS Command Reference

This appendix is a quick reference to the bulk of the XHTML elements and attributes introduced in this book. Likewise, this appendix offers a quick reference to the CSS properties discussed in the text.

Document Elements

The elements in this section are those required for well-formed Web documents, as well as the options and attributes that go along with them.

DTD Declarations

DTD declarations begin every well-formed Web document, telling the parser what type of document to expect.

The XHTML Strict DTD Declaration is used if you intend to be strict in your use of XHTML 1.0 compliant elements and in using well-formed coding rules:

 <!DOCTYPE html PUBLIC "\//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> ...

Get Absolute Beginner’s Guide to Creating Web Pages now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.