HTML Quick Reference

As with the other sections of this book, we use the Netscape and Internet Explorer icons to the far right of each item to indicate tags and attributes that are extensions to the HTML 4.01 and XHTML 1.0 standards. If no icon is shown, the tag or attribute is part of the HTML 4.01 and XHTML 1.0 standards.

We include the possible attributes (some required) indented below their respective tags. In the description, we give possible attribute values as either a range of integer numbers or a definitive list of options, where possible.

<a> ... </a>

Create a hyperlink anchor (href attribute) or fragment identifier (name attribute)

accesskey= char

Define the hot-key character for this anchor

charset= encoding

Specify the character set used to encode the target

coords= list

Specify a list of shape-dependent coordinates

href= url

Specify the URL of a hyperlink target

hreflang= language

Specify the language encoding for the target

name= name

Specify the name of a fragment identifier

rel= relationship

Indicate the relationship of this document to the target

rev= relationship

Indicate the reverse relationship of the target to this document

shape= shape

Define the region’s shape to be circ, circle, poly, polygon, rect, or rectangle

tabindex= value

Define the position of this anchor in the document’s tabbing order

target= name

Define the name of the frame or window to receive the referenced document

type= type

Get HTML & XHTML: The Definitive Guide, 5th Edition 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.