Interviewer And Interviewee Guide

Cascading Style Sheet CSS Interview Question:

What Is a Contextual Selector in CSS?

Submitted by: Administrator
A contextual selector selects a HTML tag that is nested inside another specified tag. Contextual selectors are specified with two tags separated with a space like (outer_tag inner_tag). For example, the following CSS definition uses a contextual selector:

/* set paragraph inside a table to use arial font family */
FORM P {font-family: arial}

Submitted by: Administrator

Read Online Cascading Style Sheet CSS Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.

Interview Questions Answers .ORG