O'Reilly logo

Absolute Beginner’s Guide to Creating Web Pages by Todd Stauffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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"> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required