Which code segment should you use?

You are developing a web page that has a group of H1 and H2 elements.
The page also includes a CSS class named underlineMe.
You have the following requirements.
The font color of all H1 and H2 elements must be changed to red.
The CSS class underlineMe must be applied to all H1and H2 elements.
You need to update the web page to meet the requirements.
Which code segment should you use?

You are developing a web page that has a group of H1 and H2 elements.
The page also includes a CSS class named underlineMe.
You have the following requirements.
The font color of all H1 and H2 elements must be changed to red.
The CSS class underlineMe must be applied to all H1and H2 elements.
You need to update the web page to meet the requirements.
Which code segment should you use?

A.

B.

C.

D.

Explanation:
http://www.w3schools.com/jquery/sel_header.asp



Leave a Reply 0

Your email address will not be published. Required fields are marked *