HTML
CSS
Deno
Examples
Do It Yourself
Type in your code below
Run
<html><head><style> a, p, span { color: blue; font-weight: bold; } </style> </head><body><a href="/css/css_selectors.html">I am <a>, This group styling affects me because I am in the group!</a> <p>I am <p>, This group styling affects me because I am in the group!</p> <span>I am <span>, This group styling affects me because I am in the group!</span></body></html>
Related Chapters
CSS Pseudo-Classes Selectors
CSS Positions
CSS Grouping
CSS Selectors
Related Examples
HTML CSS Tag Name Selector Description
CSS Pseudo Class :nth-child()
CSS Links pseudo last Child
CSS Links Pseudo Class
CSS Links Pseudo id