Session 2.1 Html Tag and Function

2.1 Html tag and function

DTD: indicates in which HTML 4.01 / XHTML 1.0 DTD the tag is allowed. S=Strict, T=Transitional, and F=Frameset

<!DOCTYPE> Defines the document typeSTF
<html>Defines an HTML documentSTF
<body>Defines the document's bodySTF
<h1> to <h6>Defines HTML headingsSTF
<p>Defines a paragraphSTF
<br />Inserts a single line breakSTF
<hr />Defines a horizontal lineSTF
<!--...-->Defines a commentSTF
<acronym>Defines an acronymSTF
<abbr>Defines an abbreviationSTF
<address>Defines contact information for the author/owner of a documentSTF
<b>Defines bold textSTF
<bdo>Defines the text directionSTF
<big>Defines big textSTF
<blockquote>Defines a long quotationSTF
<center>Deprecated. Defines centered textTF
<cite>Defines a citationSTF
<code>Defines computer code textSTF
<del>Defines deleted textSTF
<dfn>Defines a definition termSTF
<em>Defines emphasized text STF
<font>Deprecated. Defines font, color, and size for textTF
<i>Defines italic textSTF
<ins>Defines inserted textSTF
<kbd>Defines keyboard textSTF
<pre>Defines preformatted textSTF
<q>Defines a short quotationSTF
<s>Deprecated. Defines strikethrough textTF
<samp>Defines sample computer codeSTF
<small>Defines small textSTF
<strike>Deprecated. Defines strikethrough textTF
<strong>Defines strong textSTF
<sub>Defines subscripted textSTF
<sup>Defines superscripted textSTF
<tt>Defines teletype textSTF
<u>Deprecated. Defines underlined textTF
<var>Defines a variable part of a textSTF
<xmp>Deprecated. Defines preformatted text 
<form>Defines an HTML form for user inputSTF
<input />Defines an input controlSTF
<textarea>Defines a multi-line text input controlSTF
<button>Defines a push buttonSTF
<select>Defines a select list (drop-down list)STF
<optgroup>Defines a group of related options in a select listSTF
<option>Defines an option in a select listSTF
<label>Defines a label for an input elementSTF
<fieldset>Defines a border around elements in a formSTF
<legend>Defines a caption for a fieldset elementSTF
<isindex>Deprecated. Defines a searchable index related to a documentTF
<frame />Defines a window (a frame) in a framesetF
<frameset>Defines a set of framesF
<noframes>Defines an alternate content for users that do not support framesTF
<iframe>Defines an inline frameTF
<img />Defines an imageSTF
<map>Defines an image-map STF
<area />Defines an area inside an image-mapSTF
<a>Defines an anchorSTF
<link />Defines the relationship between a document and an external resourceSTF
<ul>Defines an unordered listSTF
<ol>Defines an ordered listSTF
<li>Defines a list itemSTF
<dir>Deprecated. Defines a directory listTF
<dl>Defines a definition listSTF
<dt>Defines a term (an item) in a definition listSTF
<dd>Defines a description of a term in a definition listSTF
<menu>Deprecated. Defines a menu listTF
<table>Defines a tableSTF
<caption>Defines a table captionSTF
<th>Defines a header cell in a tableSTF
<tr>Defines a row in a tableSTF
<td>Defines a cell in a tableSTF
<thead>Groups the header content in a tableSTF
<tbody>Groups the body content in a tableSTF
<tfoot>Groups the footer content in a tableSTF
<col />Defines attribute values for one or more columns in a tableSTF
<colgroup>Defines a group of columns in a table for formattingSTF
<style>Defines style information for a documentSTF
<div>Defines a section in a documentSTF
<span>Defines a section in a documentSTF
Meta Info  
<head>Defines information about the documentSTF
<title>Defines the document titleSTF
<meta>Defines metadata about an HTML documentSTF
<base />Defines a default address or a default target for all links on a pageSTF
<basefont />Deprecated. Defines a default font, color, or size for the text in a pageTF
<script>Defines a client-side scriptSTF
<noscript>Defines an alternate content for users that do not support client-side scriptsSTF
<applet>Deprecated. Defines an embedded appletTF
<object>Defines an embedded objectSTF
<param />Defines a parameter for an objectSTF

References Links