HyperText Markup Language/Tag List

The following is a list of all elements in HTML 4, in alphabetical order. TODO for the book: update list for HTML5 Click on a element for its description. XHTML 1.0 has the same elements but the attributes differ slightly.

The official list of current standard elements is at Index of the HTML 5 Elements.

You can also view a list of standard attributes


 * a
 * abbr
 * acronym &#8211; in most instances use  instead. See The Accessibility Hat Trick: Getting Abbreviations Right for some advice on using these elements.
 * address
 * (applet &#8211; deprecated, use  instead.)
 * area
 * b &#8211; use  or the CSS property   set to the value   instead.
 * base
 * (basefont &#8211; deprecated, set the CSS property  on the   element instead.)
 * bdo
 * bgsound Used for inserting background sounds.
 * big &#8211; the CSS property  set to the value   or a percentage greater than 100% may be more appropriate.
 * blink used to make the text blink (Depreciated).
 * blockquote
 * body Identifies the main content of a Web Page.
 * br &#8211; use the  element for paragraphs. Use the CSS properties   and   to increase or decrease the space between paragraphs. Consider using structured elements such as lists or tables instead.
 * button
 * caption
 * (center &#8211; deprecated, use a  element instead and set the CSS property   to the value  .)
 * cite
 * code
 * col
 * colgroup
 * dd
 * del
 * dfn
 * (dir &#8211; deprecated, use .)
 * div
 * dl
 * dt
 * em
 * fieldset
 * (font &#8211; deprecated, use the CSS property . For finer control use the CSS properties ,  ,  ,  ,   and  .)
 * form Creates a form.
 * frame Specifies information for one frame.
 * frameset &#8211; avoid using frames if possible.
 * head Contains information about a Web Page.
 * hr
 * html
 * h1
 * h2
 * h3
 * h4
 * h5
 * h6
 * i &#8211; use  or the CSS property   set to the value   instead.
 * iframe
 * img
 * input
 * ins
 * (isindex &#8211; deprecated, use .)
 * kbd
 * label
 * legend
 * li
 * link
 * map
 * (menu &#8211; deprecated, use .)
 * meta
 * nobr is a proprietary element type supported by some web browsers. It is used to prevent automatic wrapping of lines.
 * noframes
 * noscript Specifies what should be done if there is no javascript found on the browser.
 * object
 * ol
 * optgroup
 * option
 * p
 * param
 * pre
 * q
 * (s &#8211; deprecated, use  to indicate deleted text. If the text isn't 'deleted' use the CSS property   set to the value  .)
 * samp
 * script
 * select
 * small &#8211; the CSS property  set to the value   or a percentage less than 100% may be more appropriate.
 * span
 * (strike &#8211; deprecated, use  to indicate deleted text. If the text isn't 'deleted' use the CSS property   set to the value  .)
 * strong
 * style
 * sub
 * sup
 * table
 * tbody
 * td
 * textarea
 * tfoot
 * th
 * thead
 * title
 * tr
 * tt
 * (u &#8211; deprecated, use the CSS property  set to the value   instead.)
 * ul
 * var