CSS-এ টেক্সট ডেকোরেট করতে text-decoration property ব্যবহার করা হয়। সম্ভাব্য মান: 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>
আধুনিক CSS: text-decoration এখন shorthand: text-decoration-line, text-decoration-color, text-decoration-style (solid, double, dotted, dashed, wavy), text-decoration-thickness।