CSS element,element Selector
ExampleHow to style all <div> elements AND all <p> elements:
Try it yourself » |
Definition and Usage
Separate selectors, using commas, to style more than one element with the same style.
The element,element selector styles all elements with either one of the specified tagnames.
Browser Support
The element,element selector is supported in all major browsers.
CSS Version
The element,element selector was first introduced in:
CSS 1
Try it Yourself - Examples |
ExampleHow to style many elements with the same style:
Try it yourself » |
Complete CSS Reference