HTML Quick Reference

Body Tag and Attributes
<BODY>...</BODY> Contains the viewed portion of the document
<BODY bgcolor="color"> Sets the color of the background in hexadecimal code
<BODY background="filename.xxx"> Sets an image as a background wallpaper
<BODY text="color"> Specifies the color of text in hexadecimal code
<BODY link="color"> Specifies the default color of unvisited links in hexadecimal code
<BODY alink="color"> Specifies the color of links on click in hexadecimal code
<BODY vlink="color"> Specifies the color of followed links in hexadecimal code


Font Tag and Attributes
<FONT>...</FONT> Changes font attributes for text within tags
<FONT size="value">...</FONT> Sets the font size from 1 to 7, 1 being the smallest and 7 the largest
<FONT face="name">...</FONT> Sets the font face
<FONT color="color">...</FONT> Sets the font color using hexadecimal code


Image Tag and Attributes
<IMG> Embeds an image in the document at the location of the tag
<IMG src="url" alt="text"> Adds an image with a text description
<IMG src="url" alt="text" align="direction"> Aligns an image to the left, right, center, bottom, or top
<IMG src="url" alt="text" border="number"> Sets the size of the border surrounding an image
<IMG src="url" alt="text" height="pixels"> Sets the height of an image
<IMG src="url" alt="text" width="pixels"> Sets the width of an image
<IMG src="url" alt="text" hspace="pixels"> Sets a horizontal margin to be placed around an image
<IMG src="url" alt="text" vspace="pixels"> Sets a vertical margin to be placed around an image
<IMG src="url" alt="text" usemap="map-name"> Designates an image as a client-side image map
©2008 WOWhostingCatalog.com. All Right Reserved. Privacy