Hypertext Markup Language (HTML) 4.01 element reference
A table of the opening tags of the elements in use in HTML 4.01 together with their associated attributes.
See HTML: QuickIntro for examples of some of these elements in use.
Reference is in alphabetical order:
Tag
|
Description
|
Attributes
|
Allowed in XHTML 1.0 DTDs S = Strict T = Transitional F = Frameset |
|---|---|---|---|
<!DOCTYPE> |
Defines the document type and must reference one of the three DTDs |
STF |
|
<!-- comment --> |
Defines a comment
|
STF |
|
<a> |
Defines an anchor to a jump point within a page or link to a different page or website
|
accesskey charset class coords dir href hreflang id lang rel rev shape style tabindex title xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF TF STF STF |
<abbr> |
Defines an abbreviation
|
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<acronym> |
Defines an acronym
|
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<address> |
Defines contact information for the author or owner of a document |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<area> |
Defines an area inside an image map
|
accesskey alt class coords dir href id lang nohref shape style tabindex target title xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF TF STF |
<b> |
Defines bold text
|
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<base>
|
Defines a default URL or target for all links on a page |
href
|
STF TF |
<bdo>
|
Defines the text direction |
class dir xml:lang |
STF STF STF STF STF STF STF |
<big> |
Defines big text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<blockquote> |
Defines a long quotation |
class cite dir id lang style title xml:lang |
STF STF STF STF STF STF STF STF |
<body> |
Defines the document body |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<br> |
Defines a single line break |
class id style title |
STF STF STF STF |
<button> |
Defines a button |
accesskey class dir disabled lang name tabindex type value xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF |
<caption> |
Defines a table caption |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<cite> |
Defines a citation |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<code> |
Defines computer code text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<col> |
Defines attribute values for one or more columns in a table |
align char charoff class dir lang span valign width xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF |
<colgroup> |
Defines a group of columns in a table for formatting |
align char charoff class dir lang span valign width xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF |
<dd> |
Defines a description of a term in a definition list |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<del> |
Defines deleted text |
cite class datetime dir lang xml:lang |
STF STF STF STF STF STF STF STF STF |
<dfn> |
Defines a definition term |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<div> |
Defines a division container box in a document |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<dl> |
Defines a definition list |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<dt> |
Defines an item in a definition list |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<em> |
Defines emphasized text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<fieldset> |
Defines a border around elements in a form |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<form> |
Defines a form for user input |
accept accept-charset action dir enctype lang xml:lang |
STF STF STF STF STF STF STF STF STF TF STF STF STF |
<frame> |
Defines a frame or window in a frameset |
class longdesc |
F F F F F F F F F F F F |
<frameset> |
Defines a set of frames |
cols id |
F F F F F F |
<h1> to <h6> |
Defines headings |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<head> |
Defines the document head |
dir lang pofile xml:lang |
STF STF STF STF |
<hr> |
Defines a horizontal line |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<html> |
Defines the HTML document |
dir xml:lang |
STF STF STF |
<i> |
Defines italic text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<iframe> |
Defines an inline frame |
class longdesc |
TF TF TF TF TF TF TF TF TF TF TF TF TF |
<img> |
Defines an image |
alt dir id ismap lang longdesc usemap xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF |
<input> |
Defines an input control in a form |
accept accesskey alt dir lang src xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF |
<ins> |
Defines inserted text |
cite class dir datetime lang xml:lang |
STF STF STF STF STF STF STF STF STF |
<kbd> |
Defines keyboard text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<label> |
Defines a label for an input element in a form |
accesskey class dir for lang xml:lang |
STF STF STF STF STF STF STF STF STF |
<legend> |
Defines a caption for a fieldset element |
accesskey class dir lang xml:lang |
STF STF STF STF STF STF STF STF |
<li> |
Defines a list item |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<link> |
Defines the relationship between a document and an external resource |
charset class dir hreflang lang media rev target xml:lang |
STF STF STF STF STF STF STF STF STF STF TF STF STF STF |
<map> |
Defines an image map |
class dir lang name xml:lang |
STF STF STF STF STF STF STF STF |
<meta> |
Defines metadata about an HTML document |
content dir lang scheme xml:lang |
STF STF STF STF STF STF STF |
<noframes> |
Defines an alternate content for users that do not support frames |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<noscript> |
Defines an alternate content for users that do not support client-side scripts |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<object> |
Defines an embedded object |
align archive border class classid codebase codetype data declare dir height hspace lang name standby tabindex type usemap vspace width xml:lang |
TF STF TF STF STF STF STF STF STF STF STF TF STF STF STF STF STF STF STF STF STF TF STF STF |
<ol> |
Defines an ordered list |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<optgroup> |
Defines a group of related options in a drop down select list |
class dir disabled lang label xml:lang |
STF STF STF STF STF STF STF STF STF |
<option> |
Defines an option in a drop down select list |
class dir disabled lang label selected value xml:lang |
STF STF STF STF STF STF STF STF STF STF STF |
<p> |
Defines a paragraph |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<param> |
Defines a parameter for an object |
id name type value valuetype |
STF STF STF STF STF |
<pre> |
Defines preformatted text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<q> |
Defines a short quotation |
cite class dir id lang style title xml:lang |
STF STF STF STF STF STF STF STF |
<samp> |
Defines sample computer code |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<script> |
Defines a client-side script |
charset defer |
STF STF STF STF |
<select> |
Defines a drop down select list |
class dir lang xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF |
<small> |
Defines small text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<span> |
Defines a section in a document |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<strong> |
Defines strong text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<style> |
Defines style information for a document |
media dir lang title type xml:lang |
STF STF STF STF STF STF |
<sub> |
Defines subscripted text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<sup> |
Defines superscripted text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<table> |
Defines a table |
border dir lang rules summary xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF STF |
<tbody> |
Groups the body content in a table |
align char charoff class dir id lang style title valign xml:lang |
STF STF STF STF STF STF STF STF STF STF STF |
<td> |
Defines a cell in a table |
abbr align axis char charoff colspan dir headers lang rowspan scope xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF |
<textarea> |
Defines a multi-line text area |
accesskey dir lang xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF STF |
<tfoot> |
Groups the footer content in a table |
align char charoff class dir id lang style title valign xml:lang |
STF STF STF STF STF STF STF STF STF STF STF |
<th> |
Defines a header cell in a table |
abbr align axis char charoff colspan dir lang rowspan scope xml:lang |
STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF STF |
<thead> |
Groups the header content in a table |
align char charoff class dir id lang style title valign xml:lang |
STF STF STF STF STF STF STF STF STF STF STF |
<title> |
Defines the title of a document |
dir lang xml:lang |
STF STF STF |
<tr> |
Defines a row in a table |
align char charoff dir lang xml:lang |
STF STF STF STF STF STF STF STF STF STF STF |
<tt> |
Defines teletype text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<ul> |
Defines an unordered list |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
<var> |
Defines a variable part of a text |
class dir id lang style title xml:lang |
STF STF STF STF STF STF STF |
Back to top.
Copyright © 2006-2010 justfigures.co.uk
