text-decoration गुण का उपयोग टेक्स्ट को अंडरलाइन, ओवरलाइन और स्ट्राइकथ्रू करने के लिए किया जाता है।
उदाहरण
निम्न उदाहरण दर्शाता है कि टेक्स्ट को कैसे सजाया जाए। संभावित मान: none, underline, overline, line-through, blink।
<html>
<head>
</head>
<body>
<p style="text-decoration:underline;">
This will be underlined
</p>
<p style="text-decoration:line-through;">
This will be striked through.
</p>
<p style="text-decoration:overline;">
This will have a over line.
</p>
<p style="text-decoration:blink;">
This text will have blinking effect
</p>
</body>
</html>
नोट: blink मान अधिकांश आधुनिक ब्राउज़र्स में समर्थित नहीं है।