- The child element has
color
set to maroon
- The child element has
color
set to black
<html> <head> <style>div { color: maroon; }</style> </head> <body> <div> <p>Harry Potter & the Half-blood Prince </p> </div> </body> </html>]]>The child element has color
set to maroon
.