0
Why the h1 in article is bigger than the h1 in section?
2 Antworten
+ 3
Did you mean bigger in font-size? It is relative, depending on your CSS styling for h1 inside article or section tag. You can set h1 inside section bigger than h1 under article tag. For example:
<article>
<h1>Header 1 in article</h1>
<section>
<h1>Header 1 in section</h1>
</section>
</article>
<style>
article h1 {
font-size: 32px;
}
article section h1 {
font-size: 36px;
}
</style>
Now, h1 in section bigger than h1 in article.
0
ok tnx
but in the exampel of the app without css styling article h1 is bigger than another in font size