Question: Question 1 4 pts What is the correct syntax to display table rows in alternating colors? Group of answer choices td:even {background-color: #CCC;} tr:nth-child(even) {background-color:

Question 1 4 pts

What is the correct syntax to display table rows in alternating colors?

Group of answer choices

td:even {background-color: #CCC;}

tr:nth-child(even) {background-color: #CCC;}

tr:even {background-color: #CCC;}

td:nth-child(even) {background-color: #CCC;}

Which syntax example is correct?

Group of answer choices

p {color: black;}

{p: color=black(p;}

{p; color: black;}

p:color=black;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!