WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Internet (http://www.wcm.at/forum/forumdisplay.php?f=8)
-   -   frage über bilder (http://www.wcm.at/forum/showthread.php?t=66986)

_m3 20.08.2002 12:06

http://www.w3.org/TR/html4/struct/objects.html#adef-alt
Zitat:

alt = text [CS]
For user agents that cannot display images, forms, or applets, this attribute specifies alternate text.
http://www.w3.org/TR/html4/struct/gl...tml#adef-title
Zitat:

title = text [CS]
This attribute offers advisory information about the element for which it is set.

Unlike the TITLE element, which provides information about an entire document and may only appear once, the title attribute may annotate any number of elements. Please consult an element's definition to verify that it supports this attribute.

Values of the title attribute may be rendered by user agents in a variety of ways. For instance, visual browsers frequently display the title as a "tool tip" (a short message that appears when the pointing device pauses over an object). Audio user agents may speak the title information in a similar context.
Unterschied alt/title:
Alt wird verwendet, wenn der Browser das Bild nicht anzeigen kann, Titel wird als zusätzliche Information zum Bidl angezeigt.

Mozilla verhält sich hier "standardkonformer".

mcs_ 20.08.2002 12:13

title wird auch vom ie interpretiert. und alt dürfte überhaupt in eine andere richtung gehen.

psychorat 20.08.2002 14:09

also reicht nur title auch, oder??

snowman 20.08.2002 14:32

lt. html4 standard ist ein alt-tag zwingend vorgeschrieben.

gruss,
snowman


Alle Zeitangaben in WEZ +2. Es ist jetzt 18:52 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag