Entities

The text-decoration property is used to control the decoration (underline, line-through, etc) of a block of text.. The values of text-decoration are.
ValuesDesciption
none | underline | overline | line-through | blink
inheritinherited from the parent
Note
Internet explorer does not support "blink" value.
snippet
<html>
<head>
    <style>
        p {text-decoration:overline;}
        span {text-decoration:underline}
        a {text-decoration:none}
        b {text-decoration:line-through}
        em {text-decoration:blink}
    </style>
</head>
<body>
    <p>Quote</p>
    <b>Never cry</b> for the person who hurts you. <span>Just smile and say</span>, thanks for giving me a chance to find someone <em>better</em> than you.
    <div><a href="http://www.quotefellas.com">Quote Fellas</a></div>
</body>
</html>
Output

Quote

Never cry for the person who hurts you. Just smile and say, thanks for giving me a chance to find someone better than you.
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +