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>
2 Answers
+ 3
Don't put blue within double quotes ""
color:blue/*this will work fine */
+ 1
Thank you!