HTML Cheatsheet
page 1 of 2
Basic Tags
Creates an HTML document
Sets off the title & other info that isn't displayed
Sets background color,
using name or hex value
Sets text color, using name or hex value
Sets color of links, using name or hex value
Sets color
of visited links, using name or hex value
Sets color of active links (while mouse-clicking)
Text Tags
Creates preformatted text
-->
Creates headlines -- H1=largest, H6=smallest
Creates bold text (should use
instead)
Creates italicized text (should use instead)
Creates typewriter-style text
Used to define source code, usually monospace
Creates a citation, usually processed in italics
Creates address section, usually processed in italics
Emphasizes a word (usually processed in italics)
Emphasizes a word (usually processed in bold)
Sets size of font - 1 to 7 (should use CSS instead)
Sets font color (should use CSS instead)
Defines the font used (should use CSS instead)
Links
clickable text
Creates a hyperlink to a Uniform Resource Locator
clickable text
Creates a hyperlink to an email address
Creates a target location within a document
clickable text
Creates a link to that target location
Formatting
Creates a new paragraph
AInserts a line break (carriage return)
Puts content in a quote - indents text from both sides
Used to format block content with CSS
Used to format inline content with CSS
Lists
Creates an unordered list
Creates an ordered list (start=xx,
where xx is a counting number)
Encompasses each list item
Creates a definition list
Precedes each defintion term
Precedes each defintion