Smart ways to make money online.

Smart ways to make money online - HTML Tutorial - Introduction.

 

The Basics

One of the first things you need to know about HTML is that most tags (or codes) have an opening and a closing tag. For example, if you want to bold some text, you surround the text with the opening and closing bold tag.

<b>I love</b> your red coat = I love your read coat

Notice that the <b> is the opening tag and the </b> is the closing. The </b> tag is important because if you forgot to include it, the entire sentence would have been bold.

Almost all codes have a closing tag and generally they are the same as the opening tag with the forward slash in front of the code.

Now that you understand opening and closing tags, let's get down to some basic codes.

New Paragraph: <p>

Line Break: <br> No ending tag needed for this one.

Bold: <b>

Underline: <u>

Italics: <I>

Centering text: <center>

Left aligning text: <p align="left"> Just use </p> for the closing tag

Right aligning text: <p align="right"> Just use </p> for the closing tag

Change text color: <font color="red"> The ending for any font tag is just </font>

Change font size: <font size="3"> (only goes up to 7)

Blinking Text: <blink> (only works in Netscape)

Scrolling Text: <marquee> (only works in Internet Explorer)

Now that you know some basic codes, let's understand how an HTML page is put together.

 

Lesson # 2 : HTML Tutorial - Basic Structure of an HTML Page

HOMEPAGE