:first-child Selector
Selects all elements that are the first child of their parent.
Selects all elements that are the first child of their parent.
Selects all elements that are the first among siblings of the same element name.
Selects all elements that are the last child of their parent.
Selects all elements that are the last among siblings of the same element name.
Selects all elements that are the nth-child of their parent.
Selects all elements that are the nth-child of their parent, counting from the last element to the first.
Selects all the elements that are the nth-child of their parent in relation to siblings with the same element name, counting from the last element to the first.
Selects all elements that are the nth child of their parent in relation to siblings with the same element name.
Selects all elements that are the only child of their parent.
Selects all elements that have no siblings with the same element name.