Creativity. Technology. Collaboration.TM
Creativity. Technology. Collaboration.
services process portfolio experience estimates learning resources contact

HTML Reference Chart: HTML Cheat Sheet

Basic Tags

<html> </html>
Creates an HTML document

<head> </head>
Sets off the title and other information that isn't displayed on the Web page itself

<body> </body>
Sets off the visible portion of the document

Header Tags

<title> </title>
Puts the name of the document in the title bar

Body Attributes

<body bgcolor=?>
Sets the background color, using name or hex # value

<body text=?>
Sets the text color, using name or hex # value

<body link=?>
Sets the color of links, using name or hex # value

<body vlink=?>
Sets the color of followed links, using name or hex # value

<body alink=?>
Sets the color of links on click, using name or hex # value

Text Tags

<pre> </pre>
Creates preformatted text

<h1> </h1>
Creates the largest headline

<h6> </h6>
Creates the smallest headline

<b> </b>
Creates bold text

<i> </i>
Creates italic text

<tt> </tt>
Creates teletype, or typewriter style text as seen here

<cite> </cite>
Creates a citation, usually italic

<em> </em>
Emphasizes a word (with italic or bold)

<strong> </strong>
Emphasizes a word (with italic or bold)

<font size=?> </font>
Sets size of font, from 1 to 7)

<font color=?> </font>
Sets font color, using name or hex value

Links

<a href="URL"> </a>
Creates a hyperlink

<a href="mailto:YourEmail@.com"> </a>
Creates a mailto link

<a name="Your Locate Name"> </a>
Creates a "location" target within a document

<a href="Your Name"> </a>
Links to a specific target location in a document

Formatting

<p> </p>
Creates a new paragraph

<p align=?>
Aligns a paragraph to the left, center or right

<br>
Inserts a single line break

<blockquote></blockquote>
indents text from both sides

<dl> </dl>
Creates a Definition List

<dt>
Precedes each Definition Term

<dd>
Precedes each Definition Definition

<ol> </ol>
Creates a numbered list

<li> </li>
Precedes each list item, and adds a number

<ul> </ul>
Creates a bulleted list

<div align=?>
A generic tag used to format large blocks of HTML, also used for CSS

Graphical Elements

<img src="name">
Adds an image

<img src="name" align=?>
Aligns an image: left, right, center; bottom, top, middle

<img src="name" border=?>
Sets size of border around an image

<img src="name" align=? border=? width=? height=?>
Sets size of border, width and height of an image

<hr>
Inserts a horizontal rule

<hr size=?>
Sets size (height) of rule

<hr width=?>
Sets width of rule, in percentage or absolute value

<hr noshade>
Creates a rule without a shadow

<hr color=?>
Creates a rule with color choice

Tables

<table> </table>
Creates a table

<tr> </tr>
Sets off each row in a table

<td> </td>
Sets off each cell in a row

<th> </th>
Sets off the table header (a normal cell with bold centered text)

Table Attributes

<table border=?>
Sets width of border around table cells

<table cellspacing=?>
Sets amount of space between table cells

<table cellpadding=?>
Sets amount of space between a cell's border and its contents

<table width=? or %>
Sets width of table - in pixels or as a percentage of document width

<tr align=?> or <td align=?>
Sets alignment for cell(s) (left, center or right)

<tr valign=?> or <td valign=?>
Sets vertical alignment for cell(s) (top, middle, or bottom)

<td colspan=?>
Sets number of columns a cell should span

<td rowspan=?>
Sets number of rows a cell should span (default=1)

<td nowrap>
Prevents the lines within a cell from being broken to fit

Frames

<frameset> </frameset>
tag in a frames document; can also be nested in other framesets

<frameset rows="width=? or %">
Defines the rows within a frameset, using number in pixels, or percentage of width

<frameset cols="width=? or %">
Defines the columns within a frameset, using number in pixels, or percentage of width

<frame>
Defines a single frame - or region - within a frameset

<noframes> </noframes>
Defines what will appear on browsers that don't support frames

Frames Attributes

<frame src="URL">
Specifies which HTML document should be displayed

<frame name="name">
Names the frame, or region, so it may be targeted by other frames

<frame marginwidth=?>
Defines the left and right margins for the frame; must be equal to or greater than 1

<frame marginheight=?>
Defines the top and bottom margins for the frame; must be equal to or greater than 1

<frame scrolling=?>
Sets whether the frame has a scrollbar; value may equal "yes," "no," or "auto. " The default, as in ordinary documents, is auto.

<frame noresize>
Prevents the user from resizing a frame

Forms

A Functional form requires that you have access to a CGI bin directory. The HTML just creates the appearance of a working form until given a path to execute purpose intended.

<form> </form>
Creates the starting base for all forms

<form name="Your Form Name"> </form>
Creates name for form, also used with JavaScript & CGI functions

<select multiple name="Your Select Name" size=?> </select>
Creates a scrolling menu. Size sets the number of visible items before scrolling.

<option> </option>
Sets off each menu item

<select name="Your Menu Name"> </select>
Creates a pulldown menu

<textarea name="Your Text Name" cols=50 rows=5> </textarea>
Creates a text box area. Columns set the width; rows set the height.

<input type="checkbox" name="Your Selection Name">
Creates a checkbox. Text question follows tag for selecting.

<input type="radio" name="Your Selection Name" value="?">
Creates a radio button. Text question follows tag for selecting.

<input type=text name="Your input Name" size=30>
Creates a one-line text area. Size sets length, in characters.

<input type="submit" value="Submit">
Creates a Submit button to send form

<input type="image" border=0 name="Your Form Name" src="your.gif">
Creates a Submit button using an image

<input type="Reset form">
Creates a Reset button to clear form

Additional Form References

<form action="/cgi-bin/formmail.cgi">
Form shows directing towards formmail.cgi in CGI directory

<input type=hidden name="recipient" value="you@your.com">
Shows a hidden contact point to forward form to.

<input type=hidden name="subject" value="Your Subject">
This creates a subject line as an email would show.

<input type=hidden name="return_link_url" value="your.com>
This provides a link on a form results page leading viewer to URL

<input type=hidden name="return_link_title" value="Your Title">
This creates the visible text wording for the return link.

<input type=hidden name="required" value="name,email">
This allows you designate certain form fields are filled before sending.

<input type=hidden name="text_color" value="?">
On the return page this provides text color preference.

<input type=hidden name="link_color" value="?">
On the return page this provides link color preference.

<input type=hidden name="vlink_color" value="?">
On the return page this provides visited link color preference.

<input type=hidden name="alink_color" value="?">
On the return page this provides active link color preference.

Search Kristof Creative
Questions? Call Us.
We're available to
discuss your project.
+1 (615) 656-5516

Office Hours:
M-F : 9-5 pm CST
S-S : CLOSED
Brochure Design
Presentation is everything! Your business deserves to look great. And now it costs even less.
Business Logo
A special, limited-time offer!
3 Page Web Site
Get your business online fast! Start now!
Flyer Design
One of the most versatile sales tools just got better!
Entrepreneurs
Give your new business the jump-start it deserves with an exclusive package designed just for you.

Images Protected By
Content copyright protected by Copyscape website plagiarism search
In an effort to help our clients save money, we have created a special section featuring discounts for a variety of business products and services.