XHTML 2

Eine kurze Einführung

Eric Eggert

Webmontag Frankfurt, 14.08.2006

Entwicklung von XHTML 2

Ziele:

Abwärtskompatibilität

Hauptunterschiede zu XHTML 1

“XHTML 2 is designed to be recognizable to the HTML and XHTML 1 author, while correcting errors and insufficiencies identified in earlier versions of the HTML family, and taking the opportunity to make improvements.”

— XHTML 2: Introduction

Strukturelemente

Um Dokumente besser Strukturieren zu können gibt es folgende Elemente:

Navigationslisten und Dokumentbearbeitung

Das neue nl-Element für Navigationslisten wird eingeführt

Statt der ins- und del-Elemente gibt es jetzt ein Element-Attribut, das für alle Elemente gilt: edit:

Bilder

Abkehr vom traditionellen img-Modell:

Links/Verlinkung

Beispiel

<nl>
   <label>Seiten</label>
   <li 
      href="index.html" 
      src="start.gif"
   >Startseite</li>
   <li 
      href="blog.html" 
      src="blog.gif"
   >Blog</li>
<nl>

Noch Fragen?

Präsentation mit S5