CSS Text Decoration

     

    We can provide the TEXT decorations in below mentioned manner:

     

  • Underline: to Underline the provided text
  • Linethrough:We can put a line on the Text
  • Overline:Place a line above the text
  • Blink: to bilnk the text
  •  

    Code:

     

    <html>
    <head>
    <title>Text Decoration Property of CSS</title>
    <style type="text/css">
    Und{Text-decoration: underline}
    Lin{Text-decoration: line-through}
    OLine{Text-decoration:Overline}
    NoneDec{Text-decoration:none}
    BlinkDec{Text-decoration:blink}
    </style>
    </head>
    <body>
    <Und>UnderLine the Content</Und><br>
    <Lin>Line Through the Content</Lin><br>
    <OLine>Over Line the Content</OLine><br>
    <NoneDec>No Decoration</NoneDec><br>
    <BlinkDec>Blink The Content</BlinkDec><br>
    </body>
    </html>

     

    Output:

    Download The Coding Along With Web Page