I was exploring CSS selectors, but I couldn't quite grasp the concept.
Consider this HTML:
<h1><strong>text</strong></h1>
<h2><strong>text</strong></h2>
<h3><strong>text</strong></h3>
Is there a way to apply different styles to each strong tag without assigning individual classes?
For example:
strong[h1] {}
strong[h2] {}
Any solutions or suggestions would be greatly appreciated.