Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

A Simple Guide To HTML - Cheat Sheet

http://htmlguide.drgrog.com/alpha/cheatindex.html

A Simple Guide To HTML


HTML Tag Reference - by Robert Duncan

HTML Cheat Sheet Essential HTML Tags


<HTML> <HEAD> <TITLE>Web Site Title</TITLE> </HEAD> <BODY> Contents of Web Site </BODY> </HTML>

| Back to the Main Guide |

Backgrounds and Colours


<BODY> Tag Attributes BACKGROUND="url " BGCOLOR="#??????" TEXT="#??????" LINK="#??????" VLINK="#??????" ALINK="#??????" BGPROPERTIES="FIXED" LEFTMARGIN="?" TOPMARGIN="?" MARGINWIDTH="?" MARGINHEIGHT="?"

| Colour Codes |

Background Image Background Colour Document Text Colour Link Colour Visited Link Colour Active Link Colour Background Properties - "Fixed" to obtain a watermark type background Side Margin Size in Pixels (Internet Explorer) Top Margin Size in Pixels (Internet Explorer) Side Margin Size in Pixels (Netscape Navigator) Top and Bottom Margin Size in Pixels (Netscape Navigator) | Top | Main Guide |

Text Formatting

<H?></H?> Quick Header - Sizes 1 (largest) to 6 (smallest). <B></B> Bold Text <I></I> Italic Text <U></U> Underline Text <CENTER></CENTER> Centre <STRIKE></STRIKE> Strikeout <SUB></SUB> Subscript - Smaller text placed below normal text <SUP></SUP> Superscript - Smaller text placed above normal text <FONT> Tag Attributes COLOR="#??????" Font Colour - Use Hex colour codes to replace question marks SIZE="?" Font Size: 1 (smallest) to 7 (largest) SIZE="+/-?" Font Size change - with respect to the text preceding it POINT-SIZE="?" Font Point Size (Netscape Navigator) FACE="***" Font Face (or just font) eg. Arial etc. <TT></TT> Typewriter Text <PRE></PRE> Preformatted Text <BLOCKQUOTE></BLOCKQUOTE> Block Quote <EM></EM> Emphasis - Shown in italics on most browsers <STRONG></STRONG> Strong - Shown in bold on most browsers

Section Divisions
<P></P> <BR> <DIV></DIV>

| Top | Main Guide |

Comments?, Questions? E-mail me!

Paragraph - Closing tag not usually required Line Break - (Carriage Return) Division/Section - Also Alignment: ALIGN="LEFT, CENTER, RIGHT,JUSTIFY"

1 of 1

10/15/2011 3:05 PM

You might also like