Mehrab
Mehrab
KPCKevin Powell - Community
Created by Mehrab on 3/28/2025 in #front-end
Heading tags in different parent elements?
Is it ok to use heading tags in different parents? For example inside the body tag we have two sections. In first one we have a h1 tag and in second one we have a h2 tag.
<body>
<section>
<h1>Test</h1>
</section>
<section>
<h2>Another test</h2>
</section>
</body>
<body>
<section>
<h1>Test</h1>
</section>
<section>
<h2>Another test</h2>
</section>
</body>
40 replies