Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Top World Wide Web Interviews:Action ScriptAJAXBasic InternetBloggingCascading Style Sheet CSSCSS3DHTMLDomain Name System (DNS)EcommerceHTMLHTML5JavaScriptjQueryjQuery KnockoutJSONJSONPUser Interface DesignerVBScriptW3CWeb 2.0 TechnologiesWeb 3.0 TechnologiesWeb BuildingWeb DevelopersWeb QualityWeb SecurityWeb SemanticWebmaster
Copyright © 2018. All Rights Reserved
Cascading Style Sheet CSS Interview Question:
What Is a Mixed Selector in CSS?
Submitted by: AdministratorA mixed selector is a selector that uses a combination of all other selectors. The following CSS shows some good examples:
/* selects <p class="quote"> tags */
P.quote {font-style: italic}
/* selects <p class="quote" id="onSale"> tags */
P.quote#onSale {color: red}
/* selects <p class=quote id=onSale> tags inside <table> */
TABLE P.quote#onSale {background-color: red}
/* selects <pre class=quote id=onSale> tags inside <table>
and <pre id="onSale"> tags */
TABLE P.quote#onSale, PRE#onSale {background-color: red}
Submitted by: Administrator
/* selects <p class="quote"> tags */
P.quote {font-style: italic}
/* selects <p class="quote" id="onSale"> tags */
P.quote#onSale {color: red}
/* selects <p class=quote id=onSale> tags inside <table> */
TABLE P.quote#onSale {background-color: red}
/* selects <pre class=quote id=onSale> tags inside <table>
and <pre id="onSale"> tags */
TABLE P.quote#onSale, PRE#onSale {background-color: red}
Submitted by: Administrator
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.

https://InterviewQuestionsAnswers.ORG.
