Appendix B:HTML 4.01 Quick Reference

This appendix provides a quick reference to the elements and attributes of the HTML 4.01 language, as specified by the World Wide Web Consortium. It’s based on the information provided in the HTML 4.01 Specification, W3C Recommendation 24 December 1999 (most current version at press time). The latest version of this document can be found at

To make the information readily accessible, this appendix organizes HTML elements by their function in the following order:

Common Attributes and Events

id, class, style, title, lang, dir, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeyup, onkeydown


bdo, body, Comments ...

Get Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day 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.