HTML defines a lot of elements for formatting output, like bold or italic text.
Have you ever seen a Web page source and wondered "How do they do that?"
To find out, simply click on the VIEW option in your browsers toolbar and select SOURCE or PAGE SOURCE. This will open a window that shows you the actual HTML of the page.
Tag |
Code (sample) |
Result |
<b> |
This is <b>bold</b> text |
This is bold text |
<big> |
This is <big>big</big> text |
This is big text |
<em> |
This is <em>emphasized</em> text |
This is emphasized text |
<i> |
This is <i>italic</i> text |
This is italic text |
<small> |
This is <small>small</small> text |
This is small text |
<strong> |
This is <strong>strong</strong> text |
This is strong text |
<sub> |
This is <sub>subscripted</sub> text |
This is subscripted text |
<sup> |
This is <sup>superscripted</sup> text |
This is superscripted text |
<ins> |
This is <ins>inserted</ins> text |
This is inserted text |
<del> |
This is <del>deleted</del> text |
This is |
<pre> | Defines preformatted text | |
<xmp> | Defines preformatted text |
To see how HTML works, you can only push the submit button, or you can make your own HTML code.