| Tags | Description | Example | Notes |
|---|---|---|---|
| <p> </p> | Paragraph marks |
Paragraph 1 Paragraph 2 |
Inserts blank line at end of each paragraph |
| <div> </div> | Logical text division |
Paragraph 1
Paragraph 2
|
Same as paragraph, but without blank line |
| <h1> </h1> | Heading, size 1 | ||
| <h6> </h6> | Heading, size 6 |
Sub-title |
|
| <b> </b> | Bold | Sample text | |
| <i> </i> | Italic | Sample text | |
| <u> </u> | Underline | underlined text | |
| <strike> </strike> | Strikethrough | ||
| <sup> </sup> | Superscript | xy |
You can use the "²" for x² or x³
"°" is 30°C
|
| <sub> </sub> | Subscript | xy | |
| <strong> </strong> | Strong text | Highlighted text | |
| <cite> </cite> | Citation | e=mc² | Used for quoting others' work |
| <big> </big> | Increase size | Big text | |
| <small> </small> | Decrease size | Small text | |
| <FONT SIZE=8> </FONT> | Set absolute font size | Size-8 text | Note: this isn't measured in points! |
| <FONT SIZE="-1"> </FONT> | Set relative font size | 1 size smaller text | Relative the the user's standard settings. |
| <FONT FACE="wingdings"> </FONT> | Sets font to use | πό+} | This will only work if the user has that particular font installed. Not recommended. |
| <FONT COLOR=CornflowerBlue> </FONT> | Sets text color from list of build-in colors | Blue text | |
| <font color="#6495ED"> </font> | Sets text color using hexadecimal number | Blue text | #RRGGBB red (00-FF) green (00-FF) blue (00-FF) |
| <pre> </pre> | Pre-formatted text |
New text pre-formatted |
Text is displayed exactly as it is found in the file |
| <tt> </tt> | Typewriter text | Fixed width font | Used to display programs, or to align lists |
| <A HREF="index.html" TARGET="_top"> </A> | Hypertext link | Click here | |
| <A NAME="section2"> | Hypertext anchor | ||
| <A HREF="#section2"> </A> | Link within document | Click here | Used for contents pages |