Matthias Apsel: ID eindeutig auch in HTML 5?

Beitrag lesen

Om nah hoo pez nyeetz, alle!

Der Validator meckert offensichtlich nicht über doppelte IDs. Beispiel: http://forumtest.selfhtml.org/qux/2013/mar/20/markdown/375#m375

In der HTML5-Spec steht: "The value must be unique amongst all the IDs in the element's home subtree ..." Als home subtree-Erklärung findet man: "A node's home subtree is the subtree rooted at that node's root element. When a node is in a Document, its home subtree is that Document's tree."

Daraus werde ich nicht schlau. Darf es doppelte IDs in einem Dokument geben?

Matthias

--
1/z ist kein Blatt Papier.