The Complete HTML 4.01 Reference

Ordered by Function

See also: Ordered Alphabetically

The links in the "Start tag" column point to attributes and more useful information about the specific tag. The links in the "Demo" column point to programming examples on the specific tag.

NN: Netscape, IE: Internet Explorer, W3C: Web Standard

RED text indicates deprecated tags with no guarantee for future browser support.

Start tag Purpose NN IE W3C
         
Basic Tags        
<!DOCTYPE>  Defines the document type     3.2
<html> Defines a html document 3.0 3.0 3.2
<body> Defines the body element 3.0 3.0 3.2
<h1> to <h6> Defines header 1 to header 6 3.0 3.0 3.2
<p> Defines a paragraph 3.0 3.0 3.2
<br> Inserts a single line break 3.0 3.0 3.2
<hr> Defines a horizontal rule 3.0 3.0 3.2
<!--> Defines a comment 3.0 3.0 3.2
         
Char Format        
<b> Defines bold text 3.0 3.0 3.2
<strong> Defines strong text 3.0 3.0 3.2
<i> Defines italic text 3.0 3.0 3.2
<em> Defines emphasized text  3.0 3.0 3.2
<big> Defines big text 3.0 3.0 3.2
<small> Defines small text 3.0 3.0 3.2
<sup> Defines superscripted text 3.0 3.0 3.2
<sub> Defines subscripted text 3.0 3.0 3.2
<bdo> Defines the direction of text display   5.0 4.0
<u> Deprecated. Use styles instead      
         
Output        
<pre> Defines preformatted text 3.0 3.0 3.2 
<code> Defines computer code text 3.0 3.0 3.2
<tt> Defines teletype text 3.0 3.0 3.2
<kbd> Defines keyboard text 3.0 3.0 3.2
<var> Defines a variable 3.0 3.0 3.2
<samp> Defines sample computer code 3.0 3.0 3.2
<plaintext> Deprecated. Use <pre> instead      
<listing> Deprecated. Use <pre> instead      
<xmp> Deprecated. Use <pre> instead      
         
Blocks        
<acronym> Defines an acronym   4.0 4.0
<abbr> Defines an abbreviation     4.0
<address> Defines an address element 4.0 4.0 3.2
<blockquote> Defines an long quotation 3.0 3.0 3.2
<q> Defines a short quotation   4.0 4.0
<cite> Defines a citation 3.0 3.0 3.2
<ins> Defines inserted text   4.0 4.0
<del> Defines deleted text   4.0 4.0
<strike> Deprecated. Use <del> instead      
<s> Deprecated. Use <del> instead      
         
Links        
<a> Defines an anchor 3.0 3.0 3.2
<link> Defines a resource reference 4.0 3.0 3.2
         
Frames        
<frame> Defines a sub window (a frame) 3.0 3.0 4.0
<frameset> Defines a set of frames 3.0 3.0 4.0 
<noframes> Defines a noframe section 3.0 3.0 4.0
<iframe> Defines an inline sub window (frame) 6.0 3.0 4.0
         
Input        
<form> Defines a form  3.0 3.0 3.2
<input> Defines an input field 3.0 3.0 3.2
<textarea> Defines a text area 3.0 3.0 3.2
<button> Defines a push button   4.0 4.0
<select> Defines a selectable list 3.0 3.0 3.2
<optgroup> Defines an option group 6.0   4.0
<option> Defines an item in a list box 3.0 3.0 3.2
<label> Defines a label    4.0 4.0
<fieldset> Defines a fieldset   4.0 4.0
<legend> Defines a title in a fieldset   4.0 4.0
<isindex> Deprecated. Use <input> instead      
         
Lists        
<ul> Defines an unordered list 3.0 3.0 3.2
<ol> Defines an ordered list 3.0 3.0 3.2
<li> Defines a list item 3.0 3.0 3.2
<dl> Defines a definition list 3.0 3.0 3.2
<dt> Defines a definition term 3.0 3.0 3.2
<dfn> Defines a definition term   3.0 3.2
<dd> Defines a definition description 3.0 3.0 3.2
<dir> Deprecated. Use <ul> instead      
<menu> Deprecated. Use <ul> instead      
         
Images        
<img> Defines an image 3.0 3.0 3.2
<map> Defines an image map  3.0 3.0 3.2
<area> Defines an area inside an image map 3.0 3.0 3.2
         
Tables        
<table> Defines a table 3.0 3.0 3.2
<caption> Defines a table caption 3.0 3.0 3.2
<th> Defines a table header 3.0 3.0 3.2
<tr> Defines a table row 3.0 3.0 3.2
<td> Defines a table cell 3.0 3.0 3.2
<thead> Defines a table header   4.0 4.0
<tbody> Defines a table body   4.0 4.0
<tfoot> Defines a table footer   4.0 4.0
<col> Defines attributes for table columns    3.0 4.0
<colgroup> Defines groups of table columns   3.0 4.0
         
Styles        
<style> Defines a style definition 4.0 3.0 3.2
<div> Defines a section in a document 3.0 3.0 3.2
<span> Defines a section in a document 4.0 3.0 4.0
<font> Deprecated. Use styles instead      
<basefont> Deprecated. Use styles instead      
<center> Deprecated. Use styles instead      
         
Meta Info        
<head> Defines information about the document 3.0 3.0 3.2
<title> Defines the document title 3.0 3.0 3.2
<meta> Defines meta information 3.0 3.0 3.2
<base> Defines a default reference to external resources 3.0 3.0 3.2
         
Programming        
<script> Defines a script 3.0 3.0 3.2
<noscript> Defines a noscript section 3.0 3.0 4.0
<object> Defines an embedded object   3.0 4.0
<param> Defines a parameter for an object 3.0 3.0 3.2
<applet> Deprecated. Use <object> instead