CSS element> element selector
CSS selectors complete reference manual
Examples
Select all the parent is a <p> element <div> element:
div> p
{
background-color: yellow;
}
{
background-color: yellow;
}
try it"
Definition and Usage
element> elementselector for selecting a specific parent.
Note: The element is not selected is not directly specified child element of the parent.
Browser Support
All major browsers supportelement> elementselector.
Note: element> element in IE8 running, you must declare <DOCTYPE>!
CSS selectors complete reference manual