ICT E 2014-44

Author : Admin

Topic updated on 10/23/2017 12:25pm

Consider the following HTML style rules :
A – body {color : red : }
B – h1 {color : red :}
C – p {color : red :}
h1 { color :red:}
D – p, h1 {color : red : }

Which of the above rules will display h1 elements and all the paragraphs of the following document in red ?

<body>
<h1>Trees</h1>
<p> Coconut tree</p>
<p>Rubber tree</p>
<h1>Flowers</h1>
<h2>Rose<h2>
</body>

 

 

RATE CONTENT 0, 0
Answers
Comments Hide Comments(0)

Leave a Reply