Thursday, 16 August 2012

css text decoration property tutorial


Introduction of Css Text Decoration property


css text decoration property is used to change text display.This property is helpful for removing underline from anchor text.

Css text-decoration property can set follwing values

  1. line-through this property value sets a horizontal line between text.
        Syntex :
        selector
        {
           text-decoration:line-through;
        }
        
  2. overline this property value set horizontal line above text.
        Syntex :
        selector
        {
           text-decoration:overline;
        }
        
  3. underline this property value sets horizontal line below text.
        Syntex :
        selector
        {
           text-decoration:underline;
        }
        
  4. none this property value remove all text-decoration styles.
        Syntex :
        selector
        {
           text-decoration:none;
        }
        
  5. Click to practice online example

No comments:

Post a Comment