text-decoration property is used to control the decoration (underline, line-through, etc) of a block of text..
The values of text-decoration are.
| Values | Desciption |
|---|---|
none | underline | overline | line-through | blink | |
inherit | inherited from the parent |
<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>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.