HTML Semantik etc.

Mi., 06/10/2021 - 23:48
Body

Notizen

Für pd5 theme realisiert, 10.10.21

 

Gute Artikel

 

<MAIN> TAG

https://www.w3schools.com/tags/tag_main.asp

 Der Inhalt sollte zum Dokument einzigartig sein. 

Also ohne Sidebar?

 

 

<aside> TAG

https://www.w3schools.com/tags/tag_aside.asp

https://developers.google.com/search/docs/advanced/structured-data/article

Für Blöcke die nicht zum Hauptinhalt gehören, also optional sind. Oft sind das Sidebars, muss aber nicht sein

Problem wenn wir das blöcken adden ist, dass auf landingpages alles aside ist...
Wie legen wir auf LP fest was article ist....

 

<article>

https://www.w3schools.com/tags/tag_article.asp

https://html.spec.whatwg.org/multipage/semantics.html#the-article-element

 

<section>

https://www.w3schools.com/tags/tag_section.asp

 

Tagging
Webdevelopment