Web Design 1
HTML “Cheat Sheet”
.htm or .html
webpage file format/extension
<html></html>
starting and closing tags for a webpage; tells the web browser to interpret
everything between the tags as an HTML document (webpage); used at the
very beginning and the very end of your document
<head></head>
header tags used before and after <title> tags
<title></title>
title tags (used between the head tags); allows you to “title” your webpage
<body></body>
body tags; the bulk of your information/page will lie between the body tags
bgcolor=”#664466”
example of a background color tag; used within the opening <body> tag
background=”file_name.gif”
example of an attribute that allows you to place an image in the background
(could be .gif .jpg or .png)
<font></font>
font tag
<b></b>
bold tag
<u></u>
underline tag
<i></i>
italicize tag
size=”6”
example of a size attribute used within the opening <font> tag (font size can
range from 1 to 7)
color=”#ccffcc”
example of a color attribute (for fonts, background, etc); be sure to use the #
sign
face=”impact”
example of a font face attribute used within the opening <font> tag
<h1></h1>
heading tag (can range from <h1> to <h7>
align=”left”
example of an alignment attribute; can be left, center, or right (must be used
within a <p> <div> or <h> tag)
<div></div>
allows you to define areas or sections in HTML documents (often used with
align=”whatever” attributes)
<p></p>
paragraph tags; allows you to groups words and sentences on separate lines
(with space between)
<br>
line break tag (one of the few tags that does not require a closing tag ex. </br>);
allows you to place words and sentences on separate lines (with no space
between)
<a></a>
link tags
 
non-breaking space - equal to one space (use ; in between spaces -
 )
href=”file_name.htm”
link attribute; tells the browser what file/page to open (must be used with an
opening link <a