Computer Science, asked by akratisax2005, 2 months ago

Q.1. What Would This CSS rule do?
h2 { font - size:2em;}
a-) Make fonts in a specific h2 tag double in size
b-) Make fonts in all h2 tags double in size
c-) Make fonts in all h2 tags double in size and italic
d-) Make all fonts that are size 2, empty.

Answer Please

Answers

Answered by simsimloots7
1

Answer:

a) you want to make specific h2 double in size give it a id,then use id #id

in css to select it and use 4em to double the size.

b)use universal selector h2{

simply put all styles it will apply on all h2 tags

}

c)use universal selector h2{

font-size:4em;

font-style:italic;

}

d)h2[font-size:2em;]{

display:none;

}

Similar questions