AndreD: XHTML: Validität scheitert an onMouseOver und onMouseOut

Beitrag lesen

Hallo zusammen,

Ich habe eine Seite von mir durch den W3C-Validator gejagt, jetzt motzt der mit der Fehlermeldung "there is no attribute onMouseOver" bzw. "there is no attribute onMouseOut".

Die Erklärung lautet: "You have used an attribute with an element that is defined not to have that attribute. This is most commonly caused by using vendor-specific attributes without setting the document type appropriately."

Als Doctype hab ich XHTML 1.0 Transitional//EN verwendet. Mir ist jetzt schon klar das ich bei einem Element (in dem Fall <a>) ein nicht gültiges Attribut (onMouseOver / onMouseOut) verwendet habe.

Weiss jemand was ich anders machen kann damit diese Fehlermeldung nicht mehr kommt? Gibt es eine Alternative in der Notation oder einen alternativen Doctype?

Gruss AndreD