Max
Mitglied
Registriert: 16.11.2005
Beiträge: 1
|
|
Also, den find ich lustig. ich hab ne HTML 4.0 Transitional und er behauptet das attribut name hätte in img nichts zu suchen was ich sehr lustig finde da ich das attribut in dieser seite mindestens noch 5 mal benutze und er dort keinen fehler zeigt! Bitte um Rückmeldung! Danke!
|
|
| 16.11.2005 23:17:36 |
|
dkdenz
Administrator
Ort: Lübeck
Registriert: 25.04.2005
Beiträge: 765
|
|
Seltsam, in der W3C-Dokumentation findet sich keinerlei Hinweis dafür, das das name-Attribut in HTML 4.0 Verwendung finden dürfte (im Image-Tag): http://www.w3.org/TR/1998/REC-html40-19 ... l/dtd.html
<!--=================== Images ===========================================-->
<!-- Length defined in strict DTD for cellpadding/cellspacing --> <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length --> <!ENTITY % MultiLength "CDATA" -- pixel, percentage, or relative -->
<!ENTITY % MultiLengths "CDATA" -- comma-separated list of MultiLength -->
<!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
<!-- To avoid problems with text-only UAs as well as to make image content understandable and navigable to users of non-visual UAs, you need to provide a description with ALT, and avoid server-side image maps --> <!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) -- 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 -- >
<!-- USEMAP points to a MAP element which may be in this document or an external document, although the latter is not widely supported -->
|
Siehe auch: http://www.w3.org/TR/1998/REC-html40-19 ... l#edef-IMG
Viel Spass noch...
|
|
| 17.11.2005 09:22:07 |
| http://dkmd.de | http://dkdenz.de |
 |
|
Orlando
Mitglied
Registriert: 26.11.2005
Beiträge: 2
|
|
dkdenz schrieb:
in der W3C-Dokumentation findet sich keinerlei Hinweis dafür, das das name-Attribut in HTML 4.0 Verwendung finden dürfte (im Image-Tag): http://www.w3.org/TR/1998/REC-html40-19980424/sgml/dtd.html |
In HTML 4.01 dagegen ist das name-Attribut im img-Element explizit angeführt:
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 -- > |
|
|
| 26.11.2005 12:20:30 |
| http://skop.net/ |
 |
|