• +91 9723535972
  • info@interviewmaterial.com

Web Design Interview Questions and Answers

Related Subjects

Question - What are the uses of child selectors in CSS?

Answer -

Child selectors are primarily used in CSS to look up the ‘child’ component of an element in CSS.

Consider an example where the
    tag is used in a paragraph. Then, the ‘ul’ tag becomes a child of the paragraph element. To implement this in CSS, the following syntax is used:

p > ul { font-size:20px; }

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners