Shadow

Here is an example which demonstrates how to add shadow to text:

HTML file: Displayed by browser:
<style>
h1 {
    text-shadow: 2px 2px #FF0000;
}
</style>
<body>
<h1>Text-shadow effect</h1>
<p><b>Note:</b> Internet Explorer 9 and earlier do not support the text-shadow property.</p>
</body>

Text-shadow effect

Note: Internet Explorer 9 and earlier do not support the text-shadow property.


Back buttonTable of ContentsNext button