Gunnar Bittersmann: HTML5 Tag?

Beitrag lesen

@@dave:

nuqneH

Semantisch muss die Ortsmarke doch in ein extra Element oder?
Wenn ja welches?
Ich dachte an <aside>

Nein, eine Ortsmarke erfüllt keins der Kriterien für 'aside' [HTML5 §4.4.5]:

“represents a section of a page”. Eine Ortsmarke ist kein Abschnitt.

“that consists of content that is tangentially related to the content around the aside element”. Nö, eine Ortsmarke ist mehr als tangentiell bezogen auf den Inhalt.

“and which could be considered separate from that content.” Trifft nicht zu.

Oder einfach ein <span> mit Klasse rum und das dann formatieren?

Ja. Eins, das auch für Mikroformate taugt.

Qapla'

--
Gut sein ist edel. Andere lehren, gut zu sein, ist noch edler. Und einfacher.
(Mark Twain)