- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Create white text with black shadow using CSS
Use the text-shadow property to create white text with black shadow.
You can try to run the following code to implement the text-shadow property:
Example
<!DOCTYPE html> <html> <head> <style> h1 { color: white; text-shadow: 3px 3px 3px #000000; } </style> </head> <body> <h1>Heading One</h1> <p>Above heading has a text shadow effect.<p> </body> </html>
Advertisements
To Continue Learning Please Login
Login with Google