You can use how many h1
, h2
and others as often as you want.
Take into account that the semantic function is to highlight the content of this piece/tag. Both visually and in terms of SEO (Google indexing for example). So you should manage and use these tags carefully, sense of organization. But you can use as many times as you want.
In W3C specifications this example can be seen, with multiple h1
:
<body>
<h1>Apples</h1>
<p>Apples are fruit.</p>
<section>
<h1>Taste</h1>
<p>They taste lovely.</p>
<section>
<h1>Sweet</h1>
<p>Red apples are sweeter than green ones.</p>
</section>
</section>
<section>
<h1>Color</h1>
<p>Apples come in various colors.</p>
</section>
</body>
There are tags that can only be used once per page. Among these are html
, head
, base
, title
and body
.
Mt thanks, I think I understood well, and tbm I did not know the W3C recommendations, this will help MT ..
– Quero Aprender .. Desculpe