5.11.1 :first-child pseudo-class

Chapter 5 - Selectors - 5.11.1 :first-child pseudo-class

Go to the relevant page of the specification.

first-child-000
Selectors: The :first-child pseudo-class
Browsers should apply each rule to the element which is the first child of its parent
first-child-001
Selectors: The :first-child pseudo-class with the universal selector
Browsers should apply each rule to the element which is the first child of its parent
first-child-selector-001
First-child pseudo-class
First-child pseudo-class matches only the first element of its type.
first-child-selector-002
First-child pseudo-class with text node
First-child pseudo-class matches only the first element of its type ignoring text nodes.