My HTML5 presents a list of bookmarks, like this:
<h1>Bookmarks</h1> <!-- Big text -->
<ul class='bookmarks-list'>
<li>
<article class='bookmark'>
<h1> <!-- Small text, not desired. :( -->
<a href='/bookmarks/show/4ed230552357a3f96907fb5f'>Google</a>
</h1>
<p>...</p>
</article>
</li>
<li>
<article class='bookmark'>
<h1> <!-- Small text, not desired. :( -->
<a href='/bookmarks/show/4ed235562357a3f96907fb60'>Stack Overflow</a>
</h1>
<p>...</p>
</article>
</li>
</ul>
The problem is that the h1
tags in the bookmarks have a smaller font-size
than the h1
which is not in an article (the title of the web page for example).
I could of course class every h1
and style it with the same font-size
, but I would like to style all h1
s in all levels at once without adding a class to them. Is this possible?