Online Html Editor

<!DOCTYPE html> <html> <head> <style> h3 { color: red; } p { color: blue; } div { background-color: lightgreen; width: 50%; padding: 20px; color: purple; } </style> </head> <body> <h2> CSS color property </h2> <h3> This h3 tag has red color text. </h3> <p> This p tag has blue color text. </p> <div> This div has purple color text. </div> </body> </html>