HTML (Hyper Text Markup Language) is the language of Web pages. An HTML
document is nothing more than a normal text document that has been "marked up"
by embedding special tags that indicate where special formatting of the text
should occur. All HTML tags are distinguished from the normal text by being
surrounded with the "<>" characters. The tags themselves are not displayed
when the page is viewed through a browser but, instead, effect how the text
is displayed. Without any tags, text would appear continuous without line
breaks or paragraphs.
Below are listed a few common tags that are essential for formatting text. The
best way to learn HTML is to start with some simple text and dress it up
incrementally until the desired effect is achieved.
|
|
|
|
|
|
|
Bold text | Here is some <b>bold</b> text. | Here is some bold text. |
|
|
Italicized text | <i>Italics</i> are useful for emphasis. | Italics are useful for emphasis. |
|
|
Line break | You use line breaks<br>to force a new line. | You
use line breaks to force a new line |
|
|
Paragraph | Paragraph tags start <p> a new paragraph | Paragraph
tags start
a new paragraph |
</font> |
Sets font size | <font
size=1>small</font>,
normal, <font size=5>big</font> |
small, normal, big |
|
</center> |
Centered text | <center>in the middle</center> |