XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements  

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

This page lists all elements and attributes in HTML 4.01/XHTML 1.0 and HTML 5, along with some nonstandard elements.

Note the following labels for elements and attributes:

 

A

a

defines an anchor used as a hypertext link or to name a document fragment.

abbr

identifies the enclosed text as an abbreviation.

acronym

identifies an acronym.

address

contains the author’s contact information.

applet

embeds a Java applet in the page.

area

is used within a map element, which defines client-side image maps.

article

identifies a self-contained piece of content, such as a magazine article, blog post, reader comment or other content that can be reused, shared or distributed independently.

aside

can mark parts of the document related to the surrounding content.

audio

embeds an audio file in the page using a browser plugin.

 

 

 

back to top

 

B

b

displays the enclosed text in bold.

base

defines the base path for all relative URLs in the document.

basefont

defines certain font attributes for the content that follows.

bdo

stands for bidirectional override and indicates a span read in the opposite direction to the surrounding text.

big

displays enclosed text slightly larger than the surrounding text by default.

blockquote

identifies a long quotation.

body

encloses the document’s content.

br

inserts a line break.

button

is used in web forms.

 

 

 

back to top

 

C

canvas

represents a two-dimensional area for displaying dynamic bitmap graphics.

caption

contains a table caption and must immediately follow the opening table tag, preceding all other table elements.

center

centers its content horizontally within the available page width or containing element.

cite

marks the title of a work or a reference to another work, particularly books, magazines, articles and similar material.

code

marks a piece of program code within an inline element.

col

creates a table column so attribute properties can apply to all its cells.

colgroup

defines a group of columns occupying their own structural region in a table.

command

is used within a menu element. As an interactive element, it represents an immediate action triggered by the user, usually through an onclick event.

 

 

 

back to top

 

D

datalist

used when the control input has been assigned the new type list.

dd

marks the description or definition part of an entry in a definition list (or association list, as it is called in HTML 5).

del

marks deleted text. This can be useful in legislation or other texts where changes must be tracked in the text itself.

details

creates an area with hidden information (a disclosure widget), which can be shown or hidden and provides additional information about controls.

dfn

marks a term to be defined.

dir

creates a directory list from list items (li).

div

identifies a generic section (a division) within a document.

dl

marks a definition list. Each entry consists of a term (dt) and its description (dd).

dt

marks the term to be defined in a definition list.

 

 

 

back to top

 

E

em

marks emphasized text.

embed

embeds an object in a web page. Embedded objects are usually multimedia files played through plugins.

 

 

 

back to top

 

F

fieldset

defines a set of related form controls and labels.

figure

defines a section of self-contained content referenced from the main content.

font

a deprecated way to specify styling information, such as color, font and size, for enclosed text.

footer

represents information about the document, article or section, typically placed at the end.

form

identifies an interactive form with controls collecting user input and other page content.

frame

defines a single frame within a frameset element.

frameset

defines a group of frames or nested framesets.

 

 

 

back to top

 

H

h1-h6

defines a heading briefly describing the content that follows.

head

marks the head of a document, containing information about the document itself.

header

contains information at the beginning of a section, usually a heading.

hgroup

used to group a set of h1–h6 headings.

hr

inserts a horizontal rule into the document to visually separate sections of the page.

html

is the root element of HTML and XHTML documents, enclosing all other elements.

 

 

 

back to top

 

I

i

displays the enclosed text in italics.

iframe

defines a movable iframe, short for inline frame, an embedded frame that displays an HTML document in its own context or window within the parent document.

img

places an image on the page.

input

creates various input controls.

ins

marks text inserted into the document.

isindex

marks the document as searchable.

 

 

 

back to top

 

K

kbd

the name is derived from keyboard, and marks text entered by the user.

keygen

used as part of a form defined with form to generate key pairs for web-based certificate management systems.

(Comments)

insert notes or scripts into a document without displaying them in the browser.

 

 

 

back to top

 

L

label

provides additional information about controls.

legend

provides a heading for a group of form fields marked with fieldset.

li

marks a list item within the elements ol, ul, menu and dir.

link

defines a relationship between the current document and another document.

 

 

 

back to top

 

M

map

defines a client-side image map. It contains a series of area elements defining the clickable regions of the image map.

mark

marks text highlighted for reference or to draw the reader’s attention.

menu

marks a menu list of one or more list items (li).

meta

contains additional information about the document.

meter

defines a fractional value or a value on a scale within a known range.

 

 

 

back to top

 

N

nav

marks a part of the document intended for navigation.

noembed

the text or object within this element is displayed when an object embedded with embed cannot be displayed, for example because the required plugin is missing.

noframes

defines content displayed by the user agent (browser) if frames cannot be shown.

noscript

defines alternative content displayed if a script cannot run.

 

 

 

back to top

 

O

object

embeds media files, such as images, applets, movies, audio or other HTML files, in a web page.

ol

defines an ordered, numbered list consisting of one or more list items (li).

optgroup

defines a group of option elements within a select form element.

option

defines an option within a select element, a list of choices shown as a dropdown menu or scrollable list.

output

marks the result of a calculation, most likely the output of a script.

 

 

 

back to top

 

P

p

identifies a paragraph.

param

passes a parameter within an applet or object element.

pre

marks preformatted text. Lines appear exactly as entered.

progress

indicates progress in completing a task, such as downloading files.

 

 

 

back to top

 

Q

q

marks a short quotation in running text, such as “To be or not to be”.

 

 

 

back to top

 

R

rp

used together with the element ruby to enclose ruby text in parentheses displayed if the user agent (browser) does not support ruby annotations. This does not refer to the Ruby programming language!

rt

used inside the ruby element. Contains the ruby text within ruby annotations.

ruby

identifies text with ruby annotations: short pronunciation hints and other notes used mainly in East Asian typography.

 

 

 

back to top

 

S

s

displays the enclosed text with a strikethrough.

samp

marks examples of output from programs, scripts and similar sources.

script

places a script in the document, usually JavaScript in web documents.

section

marks a thematic section in a document or application, with its own internal scope and optional header and footer.

select

defines a menu or scrollable list allowing multiple items to be selected.

small

displays the marked text in a smaller font size than the surrounding text.

source

used with audio and video elements. Authors can use it to provide multiple versions of a media file.

span

marks a generic inline element.

strike

displays the enclosed text with a strikethrough.

strong

emphasizes the enclosed text strongly.

style

marks style definitions, usually Cascading Style Sheets, in the head section of the document.

sub

formats the enclosed text as subscript.

sup

formats the enclosed text as superscript.

 

 

 

back to top

 

T

table

marks a table displaying rows and columns of data or other information.

tbody

marks a row or row group as the table body.

td

defines a table cell.

textarea

defines a multiline text input field. The content of the textarea element appears when the input field is first displayed.

tfoot

defines a footer for a table.

th

defines a data cell in a table header.

thead

defines the header of a table.

time

marks a time in 24-hour format and/or a date in the Gregorian calendar.

title

defines the document’s title.

tr

marks a table row containing cells. A tr element may contain only td and/or th elements.

tt

formats the enclosed text in a teletype or monospaced font.

 

 

 

back to top

 

U

u

displays the enclosed text underlined.

ul

marks an unordered list whose list items (li) have no fixed order.

 

 

 

back to top

 

V

var

identifies an instance of a variable or an argument to a computer program.

video

embeds a video file in a page without requiring a special plugin.

 

 

 

back to top

   

 

 

 

back to top