HTML References ordered alphabetically

Comprehensive reference to HTML4/XHTML, with full descriptions of all elements, attributes and live examples.

DTD: S=Strict, T=Transitional, and F=Frameset. What is DTD?

TagDescriptionHTML examplesStatusDTD
!doctypeSpecifies the HTML standard that should be used for this document.STF
aSpecifies either a hyperlink or a target for a hyperlink.

html a

STF
abbrSpecifies that a string is an abbreviation for a longer word or phrase.STF
acronymSpecifies that a string is an acronym for a word or phrase.STF
addressSpecifies name and address information related to the HTML document.STF
appletDefines a Java applet object.DeprecatedTF
bDisplays the text of the element as boldface text.

html b

STF
bdoSpecifies the text direction for the document.STF
bigIncreases the font size for the enclosed text.STF
blockquoteSpecifies that the enclosed text is a block quotation.

html blockquote

STF
bodySpecifies the body of the content of the document.

html body

STF
buttonDefines a clickable Button element.

html button

STF
captionDefines a caption within a table.

html caption

STF
centerCenters the element within the margins of the document or parent element(s).DeprecatedTF
citeSpecifies that the enclosed text is a citation from another source.STF
codeSpecifies that the enclosed text is programming code and should be formatted appropriately.

html code

STF
colgroupDefines a table column group.STF
ddSpecifies that the enclosed text is a definition in a definition list.STF
delSpecifies that the enclosed text has been deleted.

html del

STF
dfnSpecifies that the enclosed text defines a term.

html dfn

STF
dirSpecifies that the enclosed text is a directory list of short, unordered items.DeprecatedTF
divDefines a special block of content within a document.

html div

STF
dlDefines a list of definition terms and definitions.STF
dtDefines a list of definition terms in a definition list.STF
emSpecifies that the enclosed text should be emphasized.

html em

STF
fieldsetDefines a set of related form controls to be grouped together.

html fieldset

STF
fontSpecifies the font (or font family), color, and size of the enclosed text.

html font

DeprecatedTF
formDefines a form within a document.

html form

STF
framesetDefines a set of window-like frames within a parent window.F
h1Heading Level 1.

html h1

STF
h2Heading Level 2.

html h2

STF
h3Heading Level 3.

html h3

STF
h4Heading Level 4.

html h4

STF
h5Heading Level 5.

html h5

STF
h6Heading Level 6.STF
headPart of an HTML document that contain meta information, links to scripts, stylesheets, and other documents.

html head

STF
htmlDefines an HTML document.

html html

STF
iSpecifies that the enclosed text should be displayed in italics.

html i

STF
iframeDefines an inline frame (i.e. a frame embedded in a document).

html iframe

TF
insSpecifies that the enclosed text has been inserted into the document.

html ins

STF
kbdSpecifies that the enclosed text should be formatted as keyboard input.

html kbd

STF
labelDefines a label on a form.

html label

STF
legendDefines a legend for the fields on a form.

html legend

STF
liDefines a list item in an ordered list (ol) or in an unordered list (ul).

html li

STF
mapDefines a client-side image map where hot regions of an image object are hyperlinked to other targets or documents.STF
menuThe HTML menu element (<menu>) represents an unordered list of menu choices, or commands.DeprecatedTF
noframesSpecifies alternative content to display if a client browser does not support frames.TF
noscriptSpecifies alternative content to display if a client browser does not support scripts.

html noscript

STF
objectDefines an object embedded in the document.STF
olDefines an ordered (e.g. numbered) list.

html ol

STF
optgroupSpecifies a grouping of option elements within a select element.STF
optionSpecifies an option in a select (selection list) element.

html option

STF
pDefines a paragraph of text.

html p

STF
preSpecifies that the enclosed text is preformatted and that whitespace should be preserved appropriately.

html pre

STF
qSpecifies that the enclosed text is a short, inline quote from another source.

html q

STF
sSpecifies that the enclosed text should be rendered in the browser with a line drawn through it.

html s

DeprecatedTF
sampSpecifies that the enclosed text is sample text and should be rendered in the browser appropriately.

html samp

STF
scriptSpecifies that the enclosed content is a client-side script.

html script

STF
selectDefines a selection list control in a form.

html select

STF
smallDecreases the font size of the enclosed text by one.

html small

STF
spanSpan element used to surround content blocks for formatting.

html span

STF
strikeSpecifies that the enclosed text should be rendered in the browser with a line drawn through it.DeprecatedTF
strongSpecifies that the enclosed text should be rendered in the browser as "strong" (usually bold) text.

html strong

STF
styleCreates a style sheet within the document.

html style

STF
subSpecifies that the enclosed text should be rendered in the browser as subscript.

html sub

STF
supSpecifies that the enclosed text should be rendered in the browser as superscript.

html sup

STF
tableDefines an HTML table in a document.

html table

STF
tbodyGroups rows in a table together into a table body.

html tbody

STF
tdDefines a single cell within a table.

html td

STF
textareaDefines a multi-line text input area.

html textarea

STF
tfootDefines a group of rows in an HTML table as table footer rows.STF
thSpecifies that a cell in a table is a header cell.

html th

STF
theadDefines a group of rows in an HTML table as table header rows.STF
titleSpecifies the title of the HTML document.

html title

STF
trDefines a row in an HTML table.

html tr

STF
ttSpecifies that the enclosed text should be rendered in the browser in a monospace font.STF
uSpecifies that the enclosed text should be rendered as underlined in the browser.DeprecatedTF
ulDefines an unordered list, such as a bulleted list.

html ul

STF
varSpecifies that the enclosed text is a variable.

html var

STF