0

Why isn't this running ?

<!DOCTYPE html> <html> <head> <title>div</title> <style> div > p{ color:"blue"; } </style> </head> <body> <div> <p>Colombo</p> <p>Kandy</p> <span><p>Kandy</p></span> </div> <p>Galle</p> <p>Nugegoda</p> <p>last para</p> </body> </html>

11th Dec 2018, 2:05 PM
sashthisakya
sashthisakya - avatar
2 Answers
+ 3
Don't put blue within double quotes "" color:blue/*this will work fine */
11th Dec 2018, 2:24 PM
Rishi Anand
Rishi Anand - avatar
+ 1
Thank you!
11th Dec 2018, 2:41 PM
sashthisakya
sashthisakya - avatar