click below
click below
Normal Size Small Size show me how
HTML Cheat Sheet
Question | Answer |
---|---|
<h?> ... </h?> | Heading (?= 1 for largest to 6 for smallest, eg h1) |
<p> ... </p> | Paragraph of Text |
<b> ... </b> | Bold Text |
<a href="url"> ... </a> | Basic Link |
<h?> ... </h?> | Heading (?= 1 for largest to 6 for smallest, eg h1) |
<b> ... </b> | Bold Text |
<i> ... </i> | Italic Text |
<u> ... </u> | Underline Text |
<strike> ... </strike> | Strikeout |
<sup> ... </sup> | Superscript - Smaller text placed below normal text |
<sub> ... </sub> | Subscript - Smaller text placed below normal text |
<small> ... </small> | Small - Fineprint size text |
<tt> ... </tt> | Typewriter Text |
<pre> ... </pre> | Pre-formatted Text |
<blockquote> ... </blockquote> | Text Block Quote |
<strong> ... </strong> | Strong - Shown as Bold in most browsers |
<em> ... </em> | Emphasis - Shown as Italics in most browsers |
<font> ... </font> | Font tag obsolete, use CSS. (*) |
<div> ... </div> | Division (or Section) of Page Content |
<p> ... </p> | Paragraph of Text |
<br> | Line Break |
<hr> | Basic Horizontal Line |
size="?" | Line Thickness in pixels |
width="?" | Line Width in pixels. |
width="??%" | Line Width as a percentage |
color="#??????" | Line Colour (*) |
align="?" | Horizontal Alignment: left, center, right (*) |
noshade | No 3D cut-out |
<nobr> ... </nobr> | Line Break |