QUICK LINKS


Color HEX Codes

Special characters


EXAMPLES

LIST Types



HOME

BACK-Template Examples

NEXT-HTML Attributes

HTML Tags


BASIC TAGS LIST TAGS TABLE TAGS



Basic Tags
Tags Name Description Attributes
<html></html>First and last line in every HTML document.dir, lang, version
<head></head>Descriptive information about the document.profile
<title></title>Brief description of document, displayed in title bar at top of screen.dir, lang
<body></body>Identifies the contents of the Web page.bgcolor, style, background, text, alink, vlink, id
<!-- -->Comments about the document, not seen by user.none
<h1></h1> - <h2></h2>Level 1 thru 6 headingsalign, style, id
<p></p>Paragraphalign, id, style
<br />Line breakid, style
<hr />Horizontal Rule or line on pagealign, id, noshade, size, style, width
<a></a>Anchor, used to link to other Web pages, images, sounds, or another part of the page.href, id, name, rel, rev, style
<img />Inserts image, grapic, photo, etc. src, alt, align, id, name, style, width, height


List Tags
<ol></ol>Begins ordered listid, style, start, type, value
<ul></ul>Begins unordered listid, style, type
<li></li>Specific list item in order & unordered listsid, style,type, value
<dl></dl>Begins a definition listid, style, type
<dt></dt>Identifies the term part of a definition listid, style
<dd></dd>Identifies the definition part of definition listid, style


Table Tags
<table></table>Begins rows and columns of a tablealign, bgcolor, border, cellspacing, cellpadding, id, style, width
<th></th>Cell of a table that is a header for a row or columnalign, bgcolor, colspan, height, rowspan, id, style, valign, width
<tr></tr>Single row in a tablealign, bgcolor, id, style, valign
<td></td>Single cell of a tablealign, bgcolor, colspan, height, id, rowspan, style, valign, width
<tbody></tbody>Table bodyalign, id, style, valign
<thead></thead>Table header that does not scroll off the screenalign, id, style, valign
<caption></caption>Caption for a tablealign, id, style
<colgroup></colgroup>Structual division in a table that can be formattedalign, span, id, style, valign, width
<col />Groups together attributes for table columnsalign, id, span, style, valign, width

Top of Page