HTML 4.01 Tags Reference |
|
Ordered by: Alphabetical | Function
|
|
NOTE: Min. requirement Netscape and IE above version 3.0.
Some tags will work only with the lattest version browsers.
|
|
Tag |
Description |
Basic Tags |
|
<!DOCTYPE> |
Document type |
<html> |
Html document |
<body> |
The body element |
<h1> to <h6> |
Header 1 to header 6 |
<p> |
Paragraph |
<br> |
Single line break |
<hr> |
Horizontal rule |
<!-- ... --> |
Comment |
|
Text Format |
<b> |
Bold text |
<font> |
Deprecated.Font face, size, and color of text |
<i> |
Italic text |
<em> |
Emphasized text |
<big> |
Big text |
<strong> |
Strong text |
<small> |
Small text |
<sup> |
Superscripted text |
<sub> |
Subscripted text |
<bdo> |
Direction of text display |
<u> |
Deprecated. Underlined text |
|
Text Display |
<pre> |
Preformatted text |
<code> |
Computer code text |
<tt> |
Teletype text |
<kbd> |
Keyboard text |
<var> |
Variable |
<dfn> |
Defines a definition term |
<samp> |
Sample computer code |
<xmp> |
Deprecated. Preformatted text. Use PRE element instead |
|
Blocks |
<acronym> |
Acronym |
<abbr> |
Abbreviation |
<address> |
Address element |
<blockquote> |
Long quotation |
<center> |
Deprecated. Defines centered text |
<q> |
Short quotation |
<cite> |
Defines a citation |
<ins> |
Defines inserted text |
<del> |
Defines deleted text |
<s> |
Deprecated. Strikethrough text |
<strike> |
Deprecated. Strikethrough text |
|
Links |
|
<a> |
Defines an anchor |
<link> |
Defines a resource reference |
|
Frames |
|
<frame> |
Dub window, called frame. |
<frameset> |
A set of frames |
<noframes> |
No frame section |
<iframe> |
Inline sub window (frame) |
|
Input |
|
<form> |
Defines a form |
<input> |
Input field |
<textarea> |
Text area |
<button> |
Defines a push button |
<select> |
Selectable list |
<optgroup> |
Option group |
<option> |
An item in a list box |
<label> |
Label for a form control |
<fieldset> |
Field set |
<legend> |
Title in a field set |
|
Lists |
<ul> |
Unordered list |
<ol> |
Ordered list |
<li> |
List item |
<dir> |
Deprecated. Directory list. USE <UL> instead. |
<dl> |
Definition list |
<dt> |
Definition term |
<dd> |
Definition description |
<menu> |
Deprecated. Defines a menu list. USE <UL> instead. |
|
Images |
<img> |
Image |
<map> |
Image map |
<area> |
An area inside an image map |
|
Tables |
<table> |
Defines a table |
<caption> |
Table caption |
<th> |
Table header |
<tr> |
Table row |
<td> |
Table cell |
<thead> |
Table header |
<tbody> |
Table body |
<tfoot> |
Table footer |
<col> |
Table columns |
<colgroup> |
Groups of table columns |
|
Styles |
<style> |
Style definition |
<div> |
Section in a document |
<span> |
Section in a document |
|
Meta Info |
<head> |
Information about the document |
<title> |
Document title |
<meta> |
Meta information |
<base> |
Base URL for all the links in a page |
<basefont> |
Deprecated. Base font |
|
Programming |
<script> |
Defines a script |
<noscript> |
No script section |
<applet> |
Deprecated. Defines an applet. USE OBJECT element instead. |
<object> |
To embedd an object like Java applet, flash. |
<param> |
Parameter for an object |