Formatting Text
As beautiful as our first page was, I reckon there's still room for improvement.
I've already mentioned the <b></b> tag pair and there are plenty
more that are used in a similar way. Here's a list:
|
Name
|
HTML
|
Effect
|
| Bold |
Some <b>Text</b> Here
|
Some Text Here |
| Italic |
Some <i>Text</i> Here
|
Some Text Here |
| Underline |
Some <u>Text</u> Here
|
Some Text Here |
| Strikethrough |
Some <s>Text</s> Here
|
Some Text Here |
| Subscript |
Some <sub>Text</sub> Here
|
Some Text Here |
| Superscript |
Some <sup>Text</sup> Here
|
Some Text Here |
| Keyboard |
Some <kbd>Text</kbd> Here
|
Some Text Here |
| Typewriter |
Some <tt>Text</tt> Here
|
Some Text Here |
Try experimenting with a few of these and see how they work.
Hmm, but what if you want bold and italic. To do this, you need
to combine the tags like this:
This text is <b><i>bold and italic</i></b>.
You can use as many tags together as you like to allow you to get the effect
that you desire.