crowdmarketing › Forums › Coding › CSS › CSS Selectors
Etiquetado: Selectors
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)
p{ text-align:center; color:red; }