making your text bold, underlined, italic
Lesson 5
This is my first sentence
The sentence above is how your first sentence should look at the moment. Lets make it bold
This is my first sentence
We do this by using opening and closing bold tags <b> and </b>
When you have more than one tag on the same line, they must end in the exact opposite order that they were added. example
<1><2><3>My sentence </3></2></1>
notice that <1> was added first so it ends last
<3> was added last so it ends first
ok here is the code for the sentence that we currently have on our page
<font color=#FF0000 size=5 face=Arial>This is my first sentence.</font>
lets add the bold tags remembering the ascending and descending order.
<font color=#FF0000 size=5 face=Arial><b>This is my first sentence.</b></font>
This is my first sentence
Your sentence should now look like the one above.
lets make it underlined as well
To do this you need to add underline tags <u> and </u>
<font color=#FF0000 size=5 face=Arial><b><u>This is my first sentence.</u></b></font>
It does not matter which one (bold or underline) comes first, as long as they close in the correct order.
This is my first sentence
ok lets make it italic
The code for italic is <i> </i>
<font color=#FF0000 size=5 face=Arial><b><u><i>This is my first sentence.</i></u></b></font>
This is my first sentence
COOL!
Lets make it only bold and italic without the underline
<font color=#FF0000 size=5 face=Arial><b><i>This is my first sentence.</i></b></font>
This is my first sentence
On to the next lesson