Florida State University: established 1851

Academic & Professional Program Services

Certified Webmaster Curriculum

XHTML 1.1 Element ( Tag ) and Attribute Reference

XHTML 1.1 Reference Index > Hypertext Module Index

The a element ( tag )

contents

a: valid parent and child elements

valid parent elements
abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6, i, ins, kbd, label, legend, li, object, p, pre, q, samp, small, span, strong, sub, sup, td, th, tt, var
valid child elements
abbr, acronym, b, bdo, big, br, button, cite, code, del, dfn, em, i, img, input, ins, kbd, label, map, object, q, samp, script, select, small, span, strong, sub, sup, textarea, tt, var

a: valid attributes

by attribute type
Core: class, id, title
Internationalization: dir, hreflang, xml:lang
Hypertext: accesskey, charset, href, rel, rev, tabindex, type
Image Map: coords, shape
Events: onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup

a: browser test

The following code sample:

Text outside the element. <a href="http://fsu.edu">FSU</a>. Text outside the element.

appears in your browser as:

Text outside the element. FSU. Text outside the element.