Tags

HTML Tags

Tag Purpose Commonly Used Attributes
<!-- --> Comment  
<a> Anchor tag: configures hyperlinks. accesskey, class, href, id, name, style, tabindex, target, title.
<abbr> Configures an abbreviation. class, id, style.
<acronym> Configures an acronym. class, id, style.
<address> Configures contact information. class, id, style.
<area /> Configures an area in an image map. accesskey, alt, class, cords, href, id, nohref, shape, style, tabindex, target.
<b> Configures bold text class, id, style.
<big> Configuresrge text size. class, id, style.
<blockquote> Configures a long quotation. class, id, style.
<body> Configures the body section. alink (deprecated), background (deprecated), bgcolor (deprecated), class, id, link (deprecated), style, text (deprecated), vlink(deprecated).
<br /> Configures a line break. class, id, style.
<button> Configures a button. accesskey, class, disable, id, name, type, style, value.
<caption> Configures a caption for a table. align (deprecated), class, id, style.
<cite> Configures the title of a cited work. class, id, style, title.
<dd> Configures a definition area in a definition list. class, id, style.
<del> Configures deleted text (with strikethrough). cite, class, datetime, id, style.
<div> Configures a section or division in a document. align (deprecated), class, id, style.
<dl> Configures a definition list. class, id, style.
<dt> Configures a term in a definition list. class, id, style.
<em> Configures emphasized text (usually displays in italics). class, id, style.
<fieldset> Configures a grouping of form elements with a border. class, id, style.
<form> Configures a form. accept, action, class, enctype, id, method, name, style, target (deprecated).
<h1>...<h6> Configures headings. align (deprecated), class, id, style.
<head> Configures the head section.  
<hr /> Configures a horizontal line. align (deprecated), class, id, size (deprecated), style, width (deprecated).
<html> Configures a web page document. lang, xmlns, xml:lang.
<i> Configures italics text. class, id, style.
<iframe> Configures an inline frame. align (deprecated), class, frameborder, height, id, marginheight, marginwidth, name, scrolling, src, style, width.
<img /> Configures an image. align (deprecated), alt, border (deprecated), class, hspace (deprecated), id, name, src, style, width, vspace (deprecated).
<input /> Configures a text box, scrolling text box, submit button, reset button, password box, or hidden field form control. accesskey, class, checked, disabled, id, maxlength, name, readonly, size, style, tabindex, type, value.
<ins> Configures text that has been inserted with an underline. class, id, style, cite.
<label> Configures a label for a form control. class, for, id, style.
<legend> Configures a caption for a fieldset element. align (deprecated), class, id, style.
<li> Configures a list item in an unordered or ordered list. class, id, style.
<link /> Associates a web page document with an external resource. class, href, id, rel, media, style, type.
<map> Configures an image map. class, id, name, style.
<meta /> Configures meta data. content, http-equiv, name.
<noscript> Configures content for browsers that do not support cliient-side scripting.  
<object> Configures an embedded object. align, classid,, codebase, data, height, name, id, style, title, tabindex, type, width.
<ol> Configures an ordered list. class, id, start (deprecated), style, type (deprecated).
<optgroup> Configures a group of related options in a select list. class, disabled, id, label, style.
<option> Configures an option in a select list. class, disabled, id, selected, style, value.
<p> Configures a paragraph. align (deprecated), class, id, style.
<param /> Configures a parameter for an object element. class, id, style.
<script> Configures a client-side script (typically JavaScript). src, type.
<select> Configures a select list form control. class, disabled, id, multiple, name, size, style, tabindex.
<small> Configures small text size. class, id, style.
<span> Configures an inline-level section of a document. class, id, style.
<strong> Configures strong text (typically displayed as bold). class, id, style.
<style> Configures embedded styles in a web page document. type, media.
<sub> Configures subscript text. class, id, style.
<sup> Configures superscript text. class, id, style.
<table> Configures a table. align (deprecated), bgcolor (deprecated), border, cellpadding, cellspacing, class, id, style, summary, title, width.
<tbody> Configures the body section of a table. align, class, id, style, valign.
<td> Configures a table data cell in a table. align, bgcolor (deprecated), class, colspan, id, headers, height (deprecated), rowspan, style, valign, width (deprecated).
<textarea> Configures a scrolling text box form control. accesskey, class, cols, disabled, id, name, readonly, rows, style, tabindex.
<tfoot> Configures the footer section of a table. align, class, id, style, valign.
<th> Configures a table header cell in a table. align, bgcolor (deprecated), class, colspan, id, height (deprecated), rowspan, scope, style, valign, width (deprecated).
<thead> Configures the head section of a table. align, class, id, style, valign.
<title> Configures the title of a web page document.  
<tr> Configures a row in a table. align, bgcolor (deprecated), class, id, style, valign.
<ul> Configures an unordered list. class, id, style, type (deprecated).