Quackit Logo

FREE Hosting!

With every domain name you register with ZappyHost, you get FREE hosting.

$1.99 Domain Names

With every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99.

HTML Cheat Sheet

Print Version

Use this HTML cheat sheet to quickly find the code you need. All you need to do is copy (from this cheat sheet) and paste into your website's code. If need be, you can change the values to suit your particular situation.

DescriptionCodeResult
Text
Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Paragraphs

Normal paragraph text.

Line Break I feel a line break coming...
...up.
Bold Text Bold text.
Italic Text Italic text.
Color Text

Color text.

Text Size

Text size using points.

Text size using pixels.

Text size using relative sizes.

Font Family

Preferred serif font.

Preformatted Text
Preformatted text displays just as you type it...
		...line breaks, spaces and all!	
Teletype Text Teletype text - sometimes referred to as typewriter text.
Citation Text Citation text.
Emphasized Text Emphasized text.
Code Text Code text.
Big Text Big text.
Small Text Small text.
Blockquote The label says:
Contents should not be swallowed. This is due to the enormous amount of harmful chemicals that has gone into this burger.
Deleted Text Delete this text.
Inserted Text Insert this text.
Keyboard Text Keyboard text - text to be entered by the user.
Quotation Text Quotation text.
Sample Text Sample text (output from a computer program).
Variable Text Variable text.
Definition Definition.: To define the meaning of a word, phrase or term.
Images
Image Milford Sound in New Zealand
Image with Border Milford Sound in New Zealand
Linked Image Milford Sound in New Zealand
Linked Image with no Border Milford Sound in New Zealand
Tables
Basic Table
Table cell 1Table cell 2
Table with cellpadding, cellspacing, and width attributes
Table cell 1Table cell 2
Table with a Header Row
Table headerTable header
Table cell 1Table cell 2
Table with colspan Applied
Table header
Table cell 1Table cell 2
Table with rowspan Applied
Table headerTable cell 1
Table cell 2
Table with CSS Applied
Table headerTable header
Table cell 1Table cell 2
Forms
Basic Form Tags (insert all form elements between these tags)
(Insert form elements here)
Text Input
Text Area
Radio Buttons Option 1 Option 2
Checkboxes Option 1 Option 2
Select List
Submit Button
Image Button
Lists
Ordered list (numbered list)
  1. List item 1
  2. List item 2
  3. List item 3
Unordered list (unnumbered list)
  • List item 1
  • List item 2
  • List item 3
Definition list
Term 1
Definition of term 1
Term 2
Definition of term 2
Frames
Inline Frame
Frames

The frameset (frame_example_frameset_1.html):

The left frame (frame_example_left.html):

The right frame (frame_example_right.html):

View the result

Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
               
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!