Skip to main content
selector

selector

11 4.5
A way in code to find parts of a web page to add styles
  • noun
  • /sɪˈlɛktər/
  • Specialized
translation icon : selector (informática)
  • Using a unique selector, the developer was able to change the color of the header text on the site.
  • feature selector
  • instance selector
  • wrapper-based feature selector

Examples

  • One important thing to note regarding browser compatibility: querySelector and querySelectorAll only support whatever selectors the browser supports.

    Blog text (28)
  • Multiple such selectors can be nested.

    Academic text (2018)
  • The experimental results are obtained by running the feature selector over the training set.

    Academic text (2016)
  • Two types of specific feature selectors are implemented based on our approach in this paper.

    Academic text (2016)
  • Site-header img is the correct selector name for your theme!

    Blog text (28)
  • So, as an example, the selector will be rerouted to the delegate, which will be your SHCTableViewDragAddNew class.

    Blog text (31)
  • First, there's a broadly applied categorical interest selector, as seen in the screenshot below.

    Blog text (5)
  • In CSS, a selector is used to apply styles to specific HTML elements on a webpage.

  • The class selector allows developers to target multiple elements that share the same class name.

Compounds

A control you move to choose a setting on a machine

Surface Forms

selector singular
selectors plural

Morphology

selector = select (transparent) = select + or

Although technical (CSS/JS), the sense 'pattern that selects elements' is a metaphorical but transparent extension of 'one that selects'.

Etymology

Selector comes from the Latin root select meaning 'to choose' and the ending -or meaning 'one who does something'. In web pages a selector is like a pointer that 'chooses' which parts of the page get a style or a script.