HTML Quick Reference



Anchor Tag and Attributes
<A>...</A> Designates the origin and destination of a hyperlink
<A HREF="url">...</A> Creates a hyperlink
<A HREF="#NAME">...</A> Links to a target location in the current page
<A HREF="URL#NAME">...</A> Links to a target location in a page outside your site
<A NAME="NAME">...</A> Sets a target location within a document
<A HREF="mailto:email">...</A> Creates a mailto link


Optional Attributes
<A HREF="?" target="?">...</A> Specifies where the linked-to document is to be placed
<A HREF="?" rel="?">...</A> Sets up a relationship between the linked-to document and the current page
<A HREF="?" rev="?">...</A> Sets up a reverse relationship between the current page and the linked-to document


Table Tags and Attributes
<TABLE>...</TABLE> Generates a table
<TABLE border="pixels"> Sets the size of cell borders
<TABLE cellspacing="pixels"> Sets the amount of space between cells
<TABLE cellpadding="pixels"> Sets the amount of space between a border and cell content
<TABLE height="pixels" or "%"> Sets the height of a table
<TABLE width="pixels" or "%"> Sets the width of a table
<TD>...</TD> Defines a table data cell
<TD colspan="columns"> Sets a cell to span columns
<TD rowspan="rows"> Sets a cell to span rows
<TD nowrap> Prevents the lines within a cell from wrapping
<TH>...</TH> Defines a table header with bold, centered table data
<TR>...</TR> Defines a table row
<TR align="?"> or <TD align="?"> Aligns the contents of a row or cell to the left, right, or center
<TR valign="?"> or <TD valign="?"> Sets the vertical alignment of a row or cell to the top, middle, or bottom
©2008 WOWhostingCatalog.com. All Right Reserved. Privacy