Tutorials - HTML
Plain text on website without any formatting will not attract the visitor. Therefore you will need some formatting of text written on the web. This formatting will help you drive visiter's attention and if you want to emphasise some portion, you have to do the formatting. It can be done in several ways. The ways in which,formatting can be done are listed below.
Code
<b>This text is bold</b>
Result
This text is bold
Code:
<i>This text is italic</i>
Result:
This text is italic
Code:
<u>This text is underline</u>
Result:
This text is underline
Code:
<center>I am centered text</center>
Result:
The new convention for aligning text is now <DIV align="alignment"><DIV> , where alignment can be center,left,right or justify. We will discuss about DIV later in advanced chapters.