@@Rolf B
<header>logo text logo</header> <nav> ... </nav> <h1>Seitenüberschrift </h1> <main> <h2>Inhaltsüberschrift</h2> ... Inhalt <h2>Inhaltsüberschrift</h2> ... Inhalt </main>
… und bringst damit nav und h1 nebeneinander.
@Gunnar Bittersmann - ist das so sauber?
Ich würde sagen: nein.
main
ist ja ein landmark, sollte also eine Überschrift haben, nämlich die „Seitenüberschrift“. Das heißt: h1
gehört als erstes Kind in main
hinein, s.a. MDN.
😷 LLAP
--
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon