CSS में टेक्स्ट को सजाने के लिए 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>