Hallo,
der XHTML-Standard verlangt das title-Attribut bei Bildern ;-)
wer sagt das? Die DTD jedenfalls nicht, nicht einmal in Strict:
<!ELEMENT img EMPTY>
<!ATTLIST img
%attrs;
src %URI; #REQUIRED
alt %Text; #REQUIRED
longdesc %URI; #IMPLIED
height %Length; #IMPLIED
width %Length; #IMPLIED
usemap %URI; #IMPLIED
ismap (ismap) #IMPLIED
Nur src und alt sind required, also erforderlich.
Dagegen ist title ein Universalattribut, das in allen Elementen notiert werden darf, aber nicht muss:
<!-- core attributes common to most elements
id document-wide unique id
class space separated list of classes
style associated style info
title advisory title/amplification
-->
<!ENTITY % coreattrs
"id ID #IMPLIED
class CDATA #IMPLIED
style %StyleSheet; #IMPLIED
title %Text; #IMPLIED"
Bzgl. der Unart gebe ich dir dennoch recht...
Und jetzt hoffentlich auch bezüglich der nicht gegebenen Notwendigkeit.
So long,
Martin
--
Das Leben ist lebensgefährlich und endet meistens tödlich.