held: echo

Beitrag lesen

Hi,

<img src="xy/../../1579.jpg" border="0" alt="">
Es gibt kein Attribut alt für das img-Element

Entschuldige bitte, aber unterlasse es doch bitte, solchen Unsinn zu erzählen.

img hat nicht nur ein alt-Attribut, dieses anzugeben ist sogar zwingend erforderlich,
siehe http://www.w3.org/TR/html401/struct/objects.html#edef-IMG:

<!ELEMENT IMG - O EMPTY                -- Embedded image -->
<!ATTLIST IMG
  %attrs;                              -- %coreattrs, %i18n, %events --
  src         %URI;          #REQUIRED -- URI of image to embed --
  alt         %Text;         #REQUIRED -- short description --
  longdesc    %URI;          #IMPLIED  -- link to long description
                                          (complements alt) --
  name        CDATA          #IMPLIED  -- name of image for scripting --
  height      %Length;       #IMPLIED  -- override height --
  width       %Length;       #IMPLIED  -- override width --
  usemap      %URI;          #IMPLIED  -- use client-side image map --
  ismap       (ismap)        #IMPLIED  -- use server-side image map --
  >

cu,
Andreas

JA, sehr schön und was heißt das übersetzt oder war das überhaupt für mich bestimmt?