Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7704691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:44:16+00:00 2026-05-31T23:44:16+00:00

What is the correct terminology when referring to a CSS declaration containing CSS combinators,

  • 0

What is the correct terminology when referring to a CSS declaration containing CSS combinators, such as:

.myClass div { ... }

Here I’m using a declaration which will apply styles to all div elements inside an element with the class myClass.

But that is irrelevant. I’m interested in knowing the correct terminology for a declaration which mentions parent selectors.

But what is the correct terminology for this sort of declaration?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:44:17+00:00Added an answer on May 31, 2026 at 11:44 pm

    They are called Descendant Selectors, see here for more information and other terms

    Just in case the W3 site ever goes down 😉 here are the important parts:

    At times, authors may want selectors to match an element that is the
    descendant of another element in the document tree (e.g., "Match those
    EM elements that are contained by an H1 element").

    Descendant selectors express such a relationship in a pattern. A descendant
    selector is made up of two or more selectors separated by white space.
    A descendant selector of the form "A B" matches when an element B is
    an arbitrary descendant of some ancestor element A.


    Example (also quoted from the site linked above):

    For example, consider the following rules:

    h1 { color: red }
    em { color: red }
    

    Although the intention of these rules is to add emphasis to text by changing its color, the effect will be lost in a case such as:

    <H1>This headline is <EM>very</EM> important</H1>
    

    We address this case by supplementing the previous rules with a rule that sets the text color to blue whenever an EM occurs anywhere within an H1:

    h1 { color: red }
    em { color: red }
    h1 em { color: blue }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure I'm using all the correct terminology here so be forgiving. I
Which of the two is correct terminology?
I'm not sure if I'm using the correct terminology, so please correct me if
Perhaps I am just not using the correct terminology for Ruby (and if I
I'm not sure if I'm using the correct terminology to describe my questions so
I'm not 100% sure that I'm using the correct terminology or if I'm leaving
Not even sure if methods is the correct terminology... Here is the original working
I'm sure I'm missing the correct terminology here, but for this example many-to-many relationship:
Ok, I have a LinqToXml query that returns a single record (correct terminology?), however,
Sorry I dont know the correct terminology to use but I have a 3x3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.