Hallo,
sind diese Codebeispiele semantisch valide?
Fall 1:
Fall 2:
Vielen Dank im Voraus ;)
sind diese Codebeispiele semantisch valide?
Fall 1:
HTML:
<article>
<header>
<h2>Überschrift</h2>
</header>
<div class="article-body">
<section>
Inhalt 1
</section>
<section>
Inhalt 2
</section>
<section>
Inhalt 3
</section>
<section>
Inhalt 4
</section>
</div>
</article>
Fall 2:
HTML:
<article>
<header>
<h2Überschrift</h2>
</header>
<section>
<header><h3>Untertitel 1<h3></header>
Inhalt 1
</section>
<section>
<header><h3>Untertitel 2<h3></header>
Inhalt 2
</section>
<section>
<header><h3>Untertitel 3<h3></header>
Inhalt 3
</section>
</article>
Vielen Dank im Voraus ;)