Here are gathered in alphabetical order all the HTML 4 tags.
By default, all tags are supposed having a "closing" tag, i.e. the <A> must be "closed" with a </A> tag. the
means that there is no closing tag (for instance for <BASE>). Consequently, the action for this tag is local and cannot interfere with the following
elements. This
image points that the closing tag is optional.
A
|
| |
|
<A> |
defines un link (an anchor) |
| |
|
<ABBR> |
text formatting. Highlights abbreviations. |
| |
|
<ACRONYM> |
text formatting. Highlights acronyms. |
| |
|
<ADDRESS> |
text formatting. Used to highlight information about the author (his address, contact...) |
 |
|
<APPLET> |
inserts a Java applet. Deprecated, use <OBJECT> instead. |
| |
 |
<AREA> |
associates a link with an area on a picture. Used in a <MAP> statement. |
| |
B
|
| |
|
<B> |
text formatting. Writes the embraced text in bold. |
| |
 |
<BASE> |
definises the absolute path from which all relative URI in the document are calculated. Must be placed in
inside the document's heading.
|
 |
 |
<BASEFONT> |
defines the basic size for fonts used with <FONT> (size attribute). This tag is
deprecated, like <FONT>.
|
| |
|
<BDO> |
changes the direction of reading and writting of words in the page (used for instance when the page contains
words that must be read from the right to the left)
|
| |
|
<BIG> |
text formatting. Writes text bigger. |
| |
|
<BLOCKQUOTE> |
text formatting. Writes text in a special format (font and tabs). Used for quotations. |
| |
 |
<BODY> |
defines the body of the web page |
| |
 |
<BR> |
inserts a line break |
| |
|
<BUTTON> |
displays a push button in a form, like <input type="button">, but with further capabilities |
| |
C
|
| |
|
<CAPTION> |
gives description of a table. This tag must imediately follow the
TABLE> tag and only one is allowed.
|
 |
|
<CENTER> |
centres an element in the middle of the HTML page or in the middle of a table cell.
This tag is deprecated, it is adviced to use <DIV align="center"> instead.
|
| |
|
<CITE> |
text formatting. Used to quote a name, a reference (author name, book title...) |
| |
|
<CODE> |
text formatting. Displays the embraced text in with a particular font. Used to display source code. |
| |
 |
<COL> |
gives some particular atributes to a column of a table |
| |
 |
<COLGROUP> |
gathers several elements <COL>. See table. |
| |
D
|
| |
 |
<DD> |
points out the body of the definition of a word one defines in a <DL> statement |
| |
|
<DEL> |
text formatting. Used to highlight a change, that an element is deprecated or has been removed (a price for instance).
Basically, the word is stroke trough. To be used with <INS>.
|
| |
|
<DFN> |
text formatting. Used to indeicate an object instance.. |
 |
|
<DIR> |
previously used at the beginning of HTML to define an index, a directory, lists... No longer used nowadays. |
| |
|
<DIV> |
used to apply a style, behaviours... to some elements. This tag is the most important one in DHTML. |
| |
|
<DL> |
indicates a list of definitions (for instance, for a dictionnary) |
| |
 |
<DT> |
points out the word defined in a <DL> statement |
| |
E
|
| |
|
<EM> |
text formatting. Used to highlight something (emphasis) |
| |
F
|
| |
|
<FIELDSET> |
used to gather some elements of a <FORM> statement in a thematic way |
 |
|
<FONT> |
text formatting. Changes the colour, size and font aspects of a text section. It is declared deprecated
because of style sheets.
|
| |
|
<FORM> |
main tag for forms |
| |
 |
<FRAME> |
defines a frame un a <FRAMESET> statement. See frames. |
| |
|
<FRAMESET> |
main tag to define frames. Organizes frames. |
| |
G
|
| |
H
|
| |
|
<H1> |
defines a level 1 heading |
| |
|
<H2> |
defines a level 2 heading |
| |
|
<H3> |
defines a level 3 heading |
| |
|
<H4> |
defines a level 4 heading |
| |
|
<H5> |
defines a level 5 heading |
| |
|
<H6> |
defines a level 6 heading |
| |
 |
<HEAD> |
limits the heading section of an HTML page |
| |
 |
<HR> |
displays a horizontal line |
| |
 |
<HTML> |
tag used to delimit an HTML page. Used to recognize HTML paged. |
| |
I
|
| |
|
<I> |
text formatting. Displays text in italic format. |
| |
|
<IFRAME> |
inserts a frame inside an HTML page |
| |
 |
<IMG> |
inserts an image |
| |
 |
<INPUT> |
main "dynamic" element of a form.
It can be a push button, radio buttons, a check box, a text area...
|
| |
|
<INS> |
text formatting. Contrary to <DEL>, highlight a new element.
The text could appear underlined. To be used with <DEL>.
|
 |
 |
<ISINDEX> |
inserts a text area. Deprecated. Use <INPUT> instead. |
| |
J
|
| |
K
|
| |
|
<KBD> |
text formatting. Highlights a text to be entered by the user ("write this in the text box") |
| |
L
|
| |
|
<LABEL> |
defines a label associated with a form element |
| |
|
<LEGEND> |
defines a legend for a <FIELDSET> statement. Cannot be used without
and follows <FIELDSET>.
|
| |
 |
<LI> |
a list element |
| |
 |
<LINK> |
defines hierarchic relations between HTML pages. Cannot be used outside the page header. |
| |
M
|
| |
|
<MAP> |
defines a clickable area for different elements (<IMG>,
<OBJECT> or <INPUT>)
|
 |
|
<MENU> |
previously used to define a menu |
| |
 |
<META> |
defines méta inforamtion for HTML pages (tag located in the page heading) |
| |
N
|
| |
|
<NOFRAMES> |
used to print out a message when a browser do not support frames |
| |
|
<NOSCRIPT> |
used to print out a message when a browser cannot execute the scripts of the HTML page |
| |
O
|
| |
|
<OBJECT> |
defines a non conventional object |
| |
|
<OL> |
used to create a numbered list. Equivalent to <UL>. |
| |
|
<OPTGROUP> |
gathers <OPTION> tagss by adding a common prefix |
| |
 |
<OPTION> |
defines an element to be added in a <SELECT> statement |
| |
P
|
| |
 |
<P> |
delimits a paragraph |
| |
 |
<PARAM> |
defines a parameter for an <OBJECT> or an <APPLET> |
| |
|
<PRE> |
delimits an area of preformatted text; the embraced text will be directly displayed as it is in the HTML pages. |
| |
Q
|
| |
|
<Q> |
text formatting. Delimits a short quotation (same role as <BLOCKQUOTE>). |
| |
R
|
| |
S
|
 |
|
<S> |
text formatting. Strikes text. |
| |
|
<SAMP> |
text formatting. Used to display code or script samples... |
| |
|
<SCRIPT> |
used to insert a script (JavaScript, VBScript) in an HTML page |
| |
|
<SELECT> |
defines an option selector |
| |
|
<SMALL> |
text formatting. Writes text smaller. |
| |
|
<SPAN> |
could be like <DIV>: used to apply styles and properties but only to text elements |
 |
|
<STRIKE> |
text formatting. Strikes text. Deprecated: use stylesheets instead. |
| |
|
<STRONG> |
text formatting. Used to emphasize text, but in a stronger way than <EM>. |
| |
|
<STYLE> |
defines in-line stylesheets |
| |
|
<SUB> |
text formatting. Subscript. |
| |
|
<SUP> |
text formatting. Superscript. |
| |
T
|
| |
|
<TABLE> |
defines a table |
| |
 |
<TBODY> |
gathers several rows of a table to build the main part of the table (like building
paragraphs). A table can contain several <TBODY>.
|
| |
 |
<TD> |
delimits a cell in a table |
| |
|
<TEXTAREA> |
defines a text area in a form |
| |
 |
<TFOOT> |
defines a row of a table as the footer of this table (last row). Must be used with
a <TBODY>.
|
| |
 |
<TH> |
defines a cell of a table with a heading format (bold and center).
To be put at the top of a table.
|
| |
 |
<THEAD> |
defines a row of a table as a heading row (very first row of a table).
Must be used with a <TBODY>.
|
| |
 |
<TR> |
defines a simple row in a table |
| |
|
<TT> |
text formatting. Displays the text with a TeleType style. |
| |
U
|
 |
|
<U> |
text formatting. Underlines text. |
| |
|
<UL> |
delimits an ordered list with bullets |
| |
V
|
| |
|
<VAR> |
text formatting. Points out a variable or an argument of a program. |
| |
W
|
X
|
Y
|
Z
|