Alphabetical order
DTD: Indicates which XHTML 1.0 DTD is allowed in. S=Strict, T=Transitional, F=Frameset.
Label | Full name | describe | DTD |
<!--...--> | Define comments. | STF | |
<!DOCTYPE> | Define the document type. | STF | |
<a> | anchor | Define anchor. | STF |
<abbr> | abbreviation | Define the abbreviation. | STF |
<acronym> | acronym | Definition takes only the abbreviation of the first letter. | STF |
<address> | address | Defines the contact information of the document author or owner. | STF |
<applet> | applet | Not favored. Defines the embedded applet. | TF |
<area> | Area | Defines the area inside the image map. | STF |
<b> | Blod | Define bold characters. | STF |
<base> | base | Defines the default address or default destination for all links in the page. | STF |
<basefont> | Basefont | Not favored. Defines the default font, color, or size of text in the page. | TF |
<bdo> | bidirectionaloverride | Define the direction of the text. | STF |
<big> | big | Define large text. | STF |
<blockquote> | blockquote | Define long references. | STF |
<body> | Body | Defines the body of the document. | STF |
<br> | Break | Define simple folding. | STF |
<button> | Button | Define the push button. | STF |
<caption> | Caption | Define the table title. | STF |
<center> | Center | Not favored. Define the centered text. | TF |
<cite> | Cite | Define a reference (citation). | STF |
<code> | Code | Define computer code text. | STF |
<col> | Column | Defines the attribute value of one or more columns in a table. | STF |
<colgroup> | Colgroup | Defines the column group in the table for formatting. | STF |
<dd> | DefinitionDescription | Define the description of the item in the definition list. | STF |
<del> | delete delete | Defines the deleted text. | STF |
<dir> | Not favored. Define a directory list. | TF | |
<div> | division | Defines sections in the document. | STF |
<dfn> | DefiningInstance | Definition defines the project. | STF |
<dl> | Definitionlist | Definition definition list. | STF |
<dt> | Definitionterm | Defines the items in the definition list. | STF |
<em> | Emphasized | Definition emphasizes text. | STF |
<fieldset> | Fieldset | Defines the border around elements in the form. Domain set | STF |
<font> | Font | Not favored. Defines the font, size, and color of the text. | TF |
<form> | Form | Defines an HTML form for user input. | STF |
<frame> | Frame | A window or framework that defines a frame set. | F |
<frameset> | Frameset | Define the frameset. | F |
<h1> to <h6> | Header1 to hrader6 | Define HTML title. | STF |
<head> | Head | Define information about the document. | STF |
<hr> | horizontal | Define the horizontal line. | STF |
<html> | hypertextmarkuplanguage | Define HTML documents. | STF |
<i> | Italic | Define italics. | STF |
<iframe> | inlineframe | Define an inline framework. | TF |
<img> | Image | Define the image. | STF |
<input> | Input | Define the input control. | STF |
<ins> | inserted | Definitions are inserted into text. | STF |
<isindex> | Not favored. Defines searchable indexes related to the document. | TF | |
<kbd> | keyboard | Define keyboard text. | STF |
<label> | Label | Defines the annotation of the input element. | STF |
<legend> | legend | Defines the title of the domain set element. | STF |
<li> | List | Define the item that lists. | STF |
<link> | Link | Defines the relationship between a document and an external resource. | STF |
<map> | Map | Define image mapping. | STF |
<menu> | Menu | Not favored. Define menu list. | TF |
<meta> | Meta | Define meta information about HTML documents. | STF |
<noframes> | Noframes | Defines alternative content for users who do not support the framework. | TF |
<noscript> | noscript | Defines alternative content for users who do not support client scripts. (Defines a section without scripts) | STF |
<object> | Object | Define embedded objects. | STF |
<ol> | Ordered list | Define an ordered list. | STF |
<optgroup> | optiongroup | Define the option group. | STF |
<option> | Option | Define the options for the drop-down list. | STF |
<p> | paragraph | Define paragraphs. | STF |
<param> | Param | Defines the parameters of the object. | STF |
<pre> | Preformatted | Define preformatted text. | STF |
<q> | quotation | Define short references. | STF |
<s> | Not favored. Defines text with strikethrough. | TF | |
<samp> | Sample | Define computer code samples. | STF |
<script> | Script | Define client scripts. | STF |
<select> | Select | Define the selection list (drop-down list). | STF |
<small> | Small | Define trumpet text. | STF |
<span> | Span | Defines sections in the document. | STF |
<strike> | Not favored. Define the strikethrough text. | TF | |
<strong> | Strong | Definition emphasizes text. | STF |
<style> | Style | Defines the style information of the document. | STF |
<sub> | Subscript | Define subscript text. | STF |
<sup> | Superscript | Define superscript text. | STF |
<table> | Table | Define the table. | STF |
<tbody> | Table body | Defines the main content in the table. | STF |
<td> | Table data cell | Defines the cells in the table. | STF |
<textarea> | Textarea | Defines multiple lines of text input control. | STF |
<tfoot> | Table foot | Define the table notes (footnotes) in the table. | STF |
<th> | Table head cell | Defines the header cell in the table. | STF |
<head> | Table head | Defines the contents of the header in the table. | STF |
<title> | Title | Defines the title of the document. | STF |
<tr> | Table row | Defines the rows in the table. | STF |
<tt> | Teletype | Define typewriter text. | STF |
<u> | Underline | Not favored. Define underlined text. | TF |
<ul> | Unordered list | Define an unordered list. | STF |
<var> | Variable | Defines the variable part of the text. | STF |
<xmp> | Not favored. Define preformatted text. |
Arrange by function category
DTD: Indicates which XHTML 1.0 DTD is allowed in. S=Strict, T=Transitional, F=Frameset.
Label | describe | DTD |
<!DOCTYPE> | Define the document type. | STF |
<html> | Define HTML documents. | STF |
<body> | Defines the body of the document. | STF |
<h1> to <h6> | Define HTML title. | STF |
<p> | Define paragraphs. | STF |
<br> | Define simple folding. | STF |
<hr> | Define the horizontal line. | STF |
<!--...--> | Define comments. | STF |
Label | describe | DTD |
<b> | Define bold text. | STF |
<font> | Not favored. Define the font, size, and color of the text | TF |
<i> | Define italic text. | STF |
<em> | Definition emphasizes text. | STF |
<big> | Define large text. | STF |
<strong> | Define the tone to emphasize the text more strongly. | STF |
<small> | Define trumpet text. | STF |
<sup> | Define superscript text. | STF |
<sub> | Define subscript text. | STF |
<bdo> | Define the direction of the text. | STF |
<u> | Not favored. Define underlined text. | TF |
Label | describe | DTD |
<pre> | Define preformatted text | STF |
<code> | Define computer code text. | STF |
<tt> | Define typewriter text. | STF |
<kbd> | Define keyboard text. | STF |
<var> | Defines the variable part of the text. | STF |
<dfn> | Definition defines the project. | STF |
<samp> | Define computer code samples. | STF |
<xmp> | Not favored. Define preformatted text. |
Label | describe | DTD |
<acronym> | Definition takes only the abbreviation of the first letter. | STF |
<abbr> | Define the abbreviation. | STF |
<address> | Defines the contact information of the document author or owner. | STF |
<blockquote> | Defines block references. | STF |
<center> | Not favored. Define the centered text. | TF |
<q> | Define short references. | STF |
<cite> | Define a reference (citation). | STF |
<ins> | Definitions are inserted into text. | STF |
<del> | Defines the deleted text. | STF |
<s> | Not favored. Defines text with strikethrough. | TF |
<strike> | Not favored. Defines text with strikethrough. | TF |
Label | describe | DTD |
<a> | Define the anchor. | STF |
<link> | Defines the relationship between a document and an external resource. | STF |
Label | describe | DTD |
<frame> | A window or framework that defines a frame set. | F |
<frameset> | Define the frameset. | F |
<noframes> | Defines alternative content for users who do not support the framework. | TF |
<iframe> | Define an inline framework. | TF |
Label | describe | DTD |
<form> | Defines an HTML form for user input. | STF |
<input> | Define the input control. | STF |
<textarea> | Defines multiple lines of text input control. | STF |
<button> | Define button. | STF |
<select> | Define the selection list (drop-down list). | STF |
<optgroup> | Defines the combination of relevant options in the selection list. | STF |
<option> | Define the options in the selection list. | STF |
<label> | Defines the annotation of the input element. | STF |
<fieldset> | Defines the border around elements in the form. | STF |
<legend> | Defines the title of the fieldset element. | STF |
<isindex> | Not favored. Defines searchable indexes related to the document. | TF |
Label | describe | DTD |
<ul> | Define an unordered list. | STF |
<ol> | Define an ordered list. | STF |
<li> | Define the item that lists. | STF |
<dir> | Not favored. Define a directory list. | TF |
<dl> | Definition definition list. | STF |
<dt> | Defines the items in the definition list. | STF |
<dd> | Define the description of the item in the definition list. | STF |
<menu> | Not favored. Define menu list. | TF |
Label | describe | DTD |
<img> | Define the image. | STF |
<map> | Define image mapping. | STF |
<area> | Defines the area inside the image map. | STF |
Label | describe | DTD |
<table> | Define the table | STF |
<caption> | Define the table title. | STF |
<th> | Defines the header cell in the table. | STF |
<tr> | Defines the rows in the table. | STF |
<td> | Defines the cells in the table. | STF |
<head> | Defines the contents of the header in the table. | STF |
<tbody> | Defines the main content in the table. | STF |
<tfoot> | Define the table notes (footnotes) in the table. | STF |
<col> | Defines the attribute value of one or more columns in a table. | STF |
<colgroup> | Defines the column group in the table for formatting. | STF |
Label | describe | DTD |
<style> | Defines the style information of the document. | STF |
<div> | Defines sections in the document. | STF |
<span> | Defines sections in the document. | STF |
Label | describe | DTD |
<head> | Define information about the document. | STF |
<title> | Defines the title of the document. | STF |
<meta> | Define meta information about HTML documents. | STF |
<base> | Defines the default address or default destination for all links in the page. | STF |
<basefont> | Not favored. Defines the default font, color, or size of text in the page. | TF |
Label | describe | DTD |
<script> | Define client scripts. | STF |
<noscript> | Defines alternative content for users who do not support client scripts. | STF |
<applet> | Not favored. Defines the embedded applet. | TF |
<object> | Defines the embedded object. | STF |
<param> | Defines the parameters of the object. | STF |
Core Attributes
The following tags do not provide the following attributes: base, head, html, meta, param, script, style, and title elements.
property | value | describe |
class | classname | Classname of the specified element |
id | id | The unique id of the specified element |
style | style_definition | Inline style of the specified element |
title | text | Additional information about the specified element (can be displayed in tooltips) |
Language Attributes
The following tags do not provide the following properties: base, br, frame, frameset, hr, iframe, param, and script elements.
property | value | describe |
dir | ltr | rtl | Sets the text orientation of the content in the element. |
lang | language_code | Sets the language code for the contents in the element. Language code reference |
xml:lang | language_code | Sets the language code for the contents of elements in the XHTML document. Language code reference |
Keyboard Attributes
property | value | describe |
accesskey | character | Sets keyboard shortcuts for accessing elements. |
tabindex | number | Sets the tab key control order of elements. |