Tag | Description | DTD |
---|---|---|
Basic | ||
<!DOCTYPE> | Defines the document type | STF |
<html> | Defines an HTML document | STF |
<body> | Defines the document's body | STF |
<h1> to <h6> | Defines HTML headings | STF |
<p> | Defines a paragraph | STF |
<br /> | Inserts a single line break | STF |
<hr /> | Defines a horizontal line | STF |
<!--...--> | Defines a comment | STF |
Formatting | ||
<acronym> | Defines an acronym | STF |
<abbr> | Defines an abbreviation | STF |
<address> | Defines contact information for the author/owner of a document | STF |
<b> | Defines bold text | STF |
<bdo> | Defines the text direction | STF |
<big> | Defines big text | STF |
<blockquote> | Defines a long quotation | STF |
<center> | Deprecated. Defines centered text | TF |
<cite> | Defines a citation | STF |
<code> | Defines computer code text | STF |
<del> | Defines deleted text | STF |
<dfn> | Defines a definition term | STF |
<em> | Defines emphasized text | STF |
<font> | Deprecated. Defines font, color, and size for text | TF |
<i> | Defines italic text | STF |
<ins> | Defines inserted text | STF |
<kbd> | Defines keyboard text | STF |
<pre> | Defines preformatted text | STF |
<q> | Defines a short quotation | STF |
<s> | Deprecated. Defines strikethrough text | TF |
<samp> | Defines sample computer code | STF |
<small> | Defines small text | STF |
<strike> | Deprecated. Defines strikethrough text | TF |
<strong> | Defines strong text | STF |
<sub> | Defines subscripted text | STF |
<sup> | Defines superscripted text | STF |
<tt> | Defines teletype text | STF |
<u> | Deprecated. Defines underlined text | TF |
<var> | Defines a variable part of a text | STF |
<xmp> | Deprecated. Defines preformatted text | |
Forms | ||
<form> | Defines an HTML form for user input | STF |
<input /> | Defines an input control | STF |
<textarea> | Defines a multi-line text input control | STF |
<button> | Defines a push button | STF |
<select> | Defines a select list (drop-down list) | STF |
<optgroup> | Defines a group of related options in a select list | STF |
<option> | Defines an option in a select list | STF |
<label> | Defines a label for an input element | STF |
<fieldset> | Defines a border around elements in a form | STF |
<legend> | Defines a caption for a fieldset element | STF |
<isindex> | Deprecated. Defines a searchable index related to a document | TF |
Frames | ||
<frame /> | Defines a window (a frame) in a frameset | F |
<frameset> | Defines a set of frames | F |
<noframes> | Defines an alternate content for users that do not support frames | TF |
<iframe> | Defines an inline frame | TF |
Images | ||
<img /> | Defines an image | STF |
<map> | Defines an image-map | STF |
<area /> | Defines an area inside an image-map | STF |
Links | ||
<a> | Defines an anchor | STF |
<link /> | Defines the relationship between a document and an external resource | STF |
Lists | ||
<ul> | Defines an unordered list | STF |
<ol> | Defines an ordered list | STF |
<li> | Defines a list item | STF |
<dir> | Deprecated. Defines a directory list | TF |
<dl> | Defines a definition list | STF |
<dt> | Defines a term (an item) in a definition list | STF |
<dd> | Defines a description of a term in a definition list | STF |
<menu> | Deprecated. Defines a menu list | TF |
Tables | ||
<table> | Defines a table | STF |
<caption> | Defines a table caption | STF |
<th> | Defines a header cell in a table | STF |
<tr> | Defines a row in a table | STF |
<td> | Defines a cell in a table | STF |
<thead> | Groups the header content in a table | STF |
<tbody> | Groups the body content in a table | STF |
<tfoot> | Groups the footer content in a table | STF |
<col /> | Defines attribute values for one or more columns in a table | STF |
<colgroup> | Defines a group of columns in a table for formatting | STF |
Styles | ||
<style> | Defines style information for a document | STF |
<div> | Defines a section in a document | STF |
<span> | Defines a section in a document | STF |
Meta Info | ||
<head> | Defines information about the document | STF |
<title> | Defines the document title | STF |
<meta> | Defines metadata about an HTML document | STF |
<base /> | Defines a default address or a default target for all links on a page | STF |
<basefont /> | Deprecated. Defines a default font, color, or size for the text in a page | TF |
Programming | ||
<script> | Defines a client-side script | STF |
<noscript> | Defines an alternate content for users that do not support client-side scripts | STF |
<applet> | Deprecated. Defines an embedded applet | TF |
<object> | Defines an embedded object | STF |
<param /> | Defines a parameter for an object |
Tuesday, November 22, 2011
Ordered by Function
DTD: indicates in which HTML 4.01 / XHTML 1.0 DTD the tag is allowed. S=Strict, T=Transitional, and F=Frameset