MCQs > IT & Programming > CSS > Suppose there are 16
elements and a style needs to applied only on every 4th element. Which of the following is correct?

CSS MCQs

Suppose there are 16 <div> elements and a style needs to applied only on every 4th element. Which of the following is correct?

Answer

Correct Answer: div:nth-child(4), div:nth-child(8), div:nth-child(12), div:nth-child(16) { }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More CSS MCQ Questions

search

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it