HTML 4 Elements

This document is a condensed version of this HTML 4 reference. It is modified under the terms of the Open Publication License, (the latest version is presently available at http://www.opencontent.org/openpub/). This derivative work is copyrighted by Scott D. Anderson, and is released under the Open Publication License. The changes are primarily to condense it, omitting tags not covered in CS110, and putting in typical attributes and values. Changes by Scott D. Anderson

Common Attributes

Essentially every tag supports the following common attributes:

Top-level Elements

Head Elements

Generic Block-level Elements

Lists

Tables

The following attributes apply to many of the tags below: CELLSPACING, CELLPADDING, WIDTH, and HEIGHT. All values are a length (in pixels) or a percentage. Another common attribute is BGCOLOR, whose value is a color.

Forms

Special Inline Elements

Phrase Elements