Thursday, October 14, 2010

XHTML Tag List

 XHTML tags are used to mark-up XHTML elements .XHTML tags are case sensitive, All tags in XHTML come in pairs for example <b> and </b>. The text that lies between the start tag and the end tag is called the element content.In these pair of tags,the first tag is the start tag,and the second tag is called end tag

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

Tag Description DTD
<!--...--> Defines a comment STF
<!DOCTYPE>  Defines the document type STF
<acronym> Defines an acronym STF
<abbr> Defines an abbreviation STF
<a> Defines an anchor STF
<address> Defines an address element STF
<area> Defines an area inside an image map STF
<applet> Deprecated. Defines an applet TF
<basefont> Deprecated. Defines a base font TF
<base> Defines a base URL for all the links in a page STF
<b> Defines bold text STF
<big> Defines big text STF
<bdo> Defines the direction of text display STF
<blockquote> Defines a long quotation STF
<br> Inserts a single line break STF
<body> Defines the body element STF
<button> Defines a push button STF
<center> Deprecated. Defines centered
text
TF
<caption> Defines a table caption STF
<cite> Defines a citation STF
<col> Defines attributes for table columns  STF
<code> Defines computer code text STF
<dd> Defines a definition description STF
<colgroup> Defines groups of table columns STF
<dir> Deprecated. Defines a directory
list
TF
<del> Defines deleted text STF
<dfn> Defines a definition term STF
<div> Defines a section in a document STF
<dt> Defines a definition term STF
<dl> Defines a definition list STF
<em> Defines emphasized text  STF
<fieldset> Defines a fieldset STF
<form> Defines a form  STF
<font> Deprecated. Defines text font,
size, and color
TF
<frameset> Defines a set of frames F
<frame> Defines a sub window (a frame) F
<h1>
to <h6>
Defines header 1 to header 6 STF
<head> Defines information about the document STF
<i> Defines italic text STF
<html> Defines an html document STF
<img> Defines an image STF
<hr> Defines a horizontal rule STF
<iframe> Defines an inline sub window (frame) TF
<input> Defines an input field STF
<ins> Defines inserted text STF
<isindex> Deprecated. Defines a
single-line input field
TF
<label> Defines a label for a form control STF
<kbd> Defines keyboard text STF
<legend> Defines a title in a fieldset STF
<li> Defines a list item STF
<link> Defines a resource reference STF
<meta> Defines meta information STF
<map> Defines an image map  STF
<noframes> Defines a noframe section TF
<menu> Deprecated. Defines a menu list TF
<noscript> Defines a noscript section STF
<optgroup> Defines an option group STF
<object> Defines an embedded object STF
<ol> Defines an ordered list STF
<option> Defines an option in a drop-down list STF
<pre> Defines preformatted text STF
<p> Defines a paragraph STF
<param> Defines a parameter for an object STF
<q> Defines a short quotation STF
<samp> Defines sample computer code STF
<s> Deprecated. Defines
strikethrough text
TF
<script> Defines a script STF
<small> Defines small text STF
<strong> Defines strong text STF
<select> Defines a selectable list STF
<span> Defines a section in a document STF
<strike> Deprecated. Defines
strikethrough text
TF
<style> Defines a style definition STF
<sup> Defines superscripted text STF
<sub> Defines subscripted text STF
<table> Defines a table STF
<tbody> Defines a table body STF
<thead> Defines a table header STF
<td> Defines a table cell STF
<textarea> Defines a text area STF
<tfoot> Defines a table footer STF
<th> Defines a table header STF
<title> Defines the document title STF
<xmp> Deprecated. Defines preformatted
text
<tt> Defines teletype text STF
<tr> Defines a table row STF
<u> Deprecated. Defines underlined
text
TF
<var> Defines a variable STF
<ul> Defines an unordered list STF

No comments:

Post a Comment