CSS element element Selector
Example
ol li {
background-color: red;
}
Meaning
The element element selects descendent tags.
The descendant selector matches all elements that are descendants of a specified element.
The above example selector matches all <li> elements that are descendants of a <ul> element—that is, every <li> element that has a <ul> element as its ancestor.
Version: CSS1
Standard Syntax
element element {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.