CSS Element Selector

Last Updated Jul 21, 2015, 12:00:06 PM





CSS Element Selector

The css element selctor is used to target a specific element in a web page

The css element selctor is used to target a specific element in a web page and apply the style. But when you have many selectors with the same name.

Example

Apply this selector to the following HTML and see it in action by clicking on Try It Now button below:


Watch GIF Try It Now

CSS Selectors Reference

CSS Selectors Reference

CSS Combinators

Other CSS Selectors you might want to learn

CSS Id Selector

CSS Class Selector

CSS Group Selector

CSS Child Combinator

CSS General Combinator

CSS Adjacent Combinator



Sources and Credits

The source of the content has been referred and updated with Mozilla Foundation and W3C Organization

Last Updated Jul 21, 2015, 12:00:06 PM