CSS: type selector (tag name)
Match Any Tag (Universal Selector)
*-
Match any tag name. [see HTML: Tags]
/* make everything red */ * {color:red;}
Match Tag name (Type Selector)
tag-
Match a specific tag name.
/* make all paragraphs red */ p {color:red;}
CSS, Selectors
- CSS. Selector. Index
- CSS: selector tutorial
- CSS: type selector (tag name)
- CSS: class selectors
- CSS: ID selectors
- CSS: attribute selector
- CSS: multiple attribute selector
- CSS: selector list (grouping selectors)
- CSS: root selector
- CSS: child selector (check parent)
- CSS Selector: no child
- CSS Selector: check descendant (has)
- CSS Selector: check sibling
- CSS Selector: pseudo-class
- CSS Selector: pseudo-element
- CSS Selector: negation (not)
- CSS Selector: is any of (is, where)
- CSS Selector: Simple, Compound, Combinator, Complex
- CSS Selector: pseudo-class functions