Computer >> Computer tutorials >  >> Programming >> Javascript

Set the text shadow around a text with CSS


The text-shadow property is used to set the text shadow around a text.

Example

You can try to run the following code to implement text-shadow property:

<html>
   <head>
   </head>
   <body>
      <p style = "text-shadow:2px 2px 5px red;">
         Indian is a country in continent Asia.
      </p>
   </body>
</html>