text-shadow गुण का उपयोग टेक्स्ट के चारों ओर छाया सेट करने के लिए किया जाता है। text-shadow गुण सेट करने के लिए निम्न कोड चलाएं:
उदाहरण
<html>
<head>
</head>
<body>
<p style="text-shadow:3px 2px 5px red;">
If your browser supports the CSS text-shadow property, this text will have a red shadow.
</p>
</body>
</html>