O'Reilly logo

HTML, XHTML, and CSS: Your visual blueprint™ for designing effective Web pages by Rob Huddleston

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 REFERENCE

HTML and XHTML Tag Reference

The following is a complete list of the elements supported in HTML 4.01 and XHTML 1.0, including suggested usage and supported attributes. Unless otherwise noted, the elements and attributes are supported by all "flavors" of both HTML 4.01 and XHTML 1.0.

All XHTML elements accept the following common attributes, except as noted in the text. They are always optional:

COMMON ATTRIBUTE

DESCRIPTION

class

A class selector for the element.

dir

Sets the direction of the element as either left to right or right to left.

id

A unique identifier for the element.

lang

Specifies the language of the element.

style

Applies an inline style to the element.

title

Sets a title for the element.

xml:lang

Specifies the language ...

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