Tutorials - HTML

Your Title Here
 
Coolwebcountry - Your journy for web design starts here!
HTML Chapter-2.....Text Formatting

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.

  • Bold Text: The tags for making text bold are <b></b>

  • Code
    <b>This text is bold</b>
    
    Result This text is bold


  • Italic Text: The tags for making text italic are <i></i>

  • Code:
    <i>This text is italic</i>
    
    Result: This text is italic


  • Underline Text: The tags for making text underline are <u></u>

  • Code:
    <u>This text is underline</u>
    
    Result: This text is underline


  • Centered Text: The tags for making text center across the page are <center></center>

  • Code:
    <center>I am centered text</center>
    
    Result:
    I am centered text


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.






Previous|Next