CSS Selectors

Home Forums Coding CSS CSS Selectors


This topic contains 0 replies, has 1 voice, and was last updated by  Purvi Thakker Chakraborty 3 years, 7 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #214

    CSS selectors allow you to select and manipulate HTML element(s).

    CSS selectors are used to “find” (or select) HTML elements based on their id, classes, types, attributes, values of attributes and much more.

    The element Selector
    The element selector selects elements based on the element name.

    You can select all

    elements on a page like this: (all

    elements will be center-aligned, with a red text color)


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.