Referenz:HTML/img

Aus SELFHTML-Wiki

Wechseln zu: Navigation, Suche
Alles: anzeigen verbergen

ToDo:    (weitere ToDos)

  • Verweis auf ausführliche Doku-Seite einfügen
  • Übersetzung der Bedeutung für HTML 4.01 Strict
  • Übersetzung der Bedeutung für HTML 4.01 Transitional
  • Übersetzung der Bedeutung für HTML 4.01 Frameset
  • Hinzufügen der Bedeutung für XHTML 1.0 Strict
  • Hinzufügen der Bedeutung für XHTML 1.0 Transitional
  • Hinzufügen der Bedeutung für XHTML 1.0 Frameset

Ausführliche Beschreibung siehe: …

Inhaltsverzeichnis

[Bearbeiten] HTML 4.01 Strict

Bedeutung Embedded image
Tags Start-Tag: notwendig
End-Tag: verboten

<img>

Elternelemente Darf vorkommen in:

a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6, i, ins, kbd, label, legend, li, object, p, q, samp, small, span, strong, sub, sup, td, th, tt, var

Kindelemente
Attribute
NameInhaltStandardwertBedeutung
Universalattribute
idIDdocument-wide unique id
classCDATAspace-separated list of classes
styleCDATAassociated style info - style sheet data
titleCDATAadvisory title
langNAMElanguage code - a language code, as per [RFC1766]
dirltr, rtldirection for weak/neutral text
onclickCDATAa pointer button was clicked - script expression
ondblclickCDATAa pointer button was double clicked - script expression
onmousedownCDATAa pointer button was pressed down - script expression
onmouseupCDATAa pointer button was released - script expression
onmouseoverCDATAa pointer was moved onto - script expression
onmousemoveCDATAa pointer was moved within - script expression
onmouseoutCDATAa pointer was moved away - script expression
onkeypressCDATAa key was pressed and released - script expression
onkeydownCDATAa key was pressed down - script expression
onkeyupCDATAa key was released - script expression
srcCDATAPflichtattributURI of image to embed - a Uniform Resource Identifier, see [URI]
altCDATAPflichtattributshort description
longdescCDATAlink to long description (complements alt) - a Uniform Resource Identifier, see [URI]
nameCDATAname of image for scripting
heightCDATAoverride height - nn for pixels or nn% for percentage length
widthCDATAoverride width - nn for pixels or nn% for percentage length
usemapCDATAuse client-side image map - a Uniform Resource Identifier, see [URI]
ismapismapuse server-side image map


[Bearbeiten] HTML 4.01 Transitional

Bedeutung Embedded image
Tags Start-Tag: notwendig
End-Tag: verboten

<img>

Elternelemente Darf vorkommen in:

a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

Kindelemente
Attribute
NameInhaltStandardwertBedeutung
Universalattribute
idIDdocument-wide unique id
classCDATAspace-separated list of classes
styleCDATAassociated style info - style sheet data
titleCDATAadvisory title
langNAMElanguage code - a language code, as per [RFC1766]
dirltr, rtldirection for weak/neutral text
onclickCDATAa pointer button was clicked - script expression
ondblclickCDATAa pointer button was double clicked - script expression
onmousedownCDATAa pointer button was pressed down - script expression
onmouseupCDATAa pointer button was released - script expression
onmouseoverCDATAa pointer was moved onto - script expression
onmousemoveCDATAa pointer was moved within - script expression
onmouseoutCDATAa pointer was moved away - script expression
onkeypressCDATAa key was pressed and released - script expression
onkeydownCDATAa key was pressed down - script expression
onkeyupCDATAa key was released - script expression
srcCDATAPflichtattributURI of image to embed - a Uniform Resource Identifier, see [URI]
altCDATAPflichtattributshort description
longdescCDATAlink to long description (complements alt) - a Uniform Resource Identifier, see [URI]
nameCDATAname of image for scripting
heightCDATAoverride height - nn for pixels or nn% for percentage length
widthCDATAoverride width - nn for pixels or nn% for percentage length
usemapCDATAuse client-side image map - a Uniform Resource Identifier, see [URI]
ismapismapuse server-side image map
align(top, middle, bottom, left, right)vertical or horizontal alignment - center?
borderCDATAlink border width - integer representing length in pixels
hspaceCDATAhorizontal gutter - integer representing length in pixels
vspaceCDATAvertical gutter - integer representing length in pixels


[Bearbeiten] HTML 4.01 Frameset

Bedeutung Embedded image
Tags Start-Tag: notwendig
End-Tag: verboten

<img>

Elternelemente Darf vorkommen in:

a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noscript, object, p, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

Kindelemente
Attribute
NameInhaltStandardwertBedeutung
Universalattribute
idIDdocument-wide unique id
classCDATAspace-separated list of classes
styleCDATAassociated style info - style sheet data
titleCDATAadvisory title
langNAMElanguage code - a language code, as per [RFC1766]
dirltr, rtldirection for weak/neutral text
onclickCDATAa pointer button was clicked - script expression
ondblclickCDATAa pointer button was double clicked - script expression
onmousedownCDATAa pointer button was pressed down - script expression
onmouseupCDATAa pointer button was released - script expression
onmouseoverCDATAa pointer was moved onto - script expression
onmousemoveCDATAa pointer was moved within - script expression
onmouseoutCDATAa pointer was moved away - script expression
onkeypressCDATAa key was pressed and released - script expression
onkeydownCDATAa key was pressed down - script expression
onkeyupCDATAa key was released - script expression
srcCDATAPflichtattributURI of image to embed - a Uniform Resource Identifier, see [URI]
altCDATAPflichtattributshort description
longdescCDATAlink to long description (complements alt) - a Uniform Resource Identifier, see [URI]
nameCDATAname of image for scripting
heightCDATAoverride height - nn for pixels or nn% for percentage length
widthCDATAoverride width - nn for pixels or nn% for percentage length
usemapCDATAuse client-side image map - a Uniform Resource Identifier, see [URI]
ismapismapuse server-side image map
align(top, middle, bottom, left, right)vertical or horizontal alignment - center?
borderCDATAlink border width - integer representing length in pixels
hspaceCDATAhorizontal gutter - integer representing length in pixels
vspaceCDATAvertical gutter - integer representing length in pixels


[Bearbeiten] XHTML 1.0 Strict

Bedeutung
Tags Start-Tag: notwendig
End-Tag: leer

<img />
<img></img>

Elternelemente Darf vorkommen in:

a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6, i, ins, kbd, label, legend, li, object, p, q, samp, small, span, strong, sub, sup, td, th, tt, var

Kindelemente
Attribute
NameInhaltStandardwertBedeutung
Universalattribute
idID
classCDATA
styleCDATA
titleCDATA
langNMTOKEN
xml:langNMTOKEN
dirltr, rtl
onclickCDATA
ondblclickCDATA
onmousedownCDATA
onmouseupCDATA
onmouseoverCDATA
onmousemoveCDATA
onmouseoutCDATA
onkeypressCDATA
onkeydownCDATA
onkeyupCDATA
srcCDATAPflichtattribut
altCDATAPflichtattribut
longdescCDATA
heightCDATA
widthCDATA
usemapCDATA
ismapismap


[Bearbeiten] XHTML 1.0 Transitional

Bedeutung
Tags Start-Tag: notwendig
End-Tag: leer

<img />
<img></img>

Elternelemente Darf vorkommen in:

a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

Kindelemente
Attribute
NameInhaltStandardwertBedeutung
Universalattribute
idID
classCDATA
styleCDATA
titleCDATA
langNMTOKEN
xml:langNMTOKEN
dirltr, rtl
onclickCDATA
ondblclickCDATA
onmousedownCDATA
onmouseupCDATA
onmouseoverCDATA
onmousemoveCDATA
onmouseoutCDATA
onkeypressCDATA
onkeydownCDATA
onkeyupCDATA
srcCDATAPflichtattribut
altCDATAPflichtattribut
nameNMTOKEN
longdescCDATA
heightCDATA
widthCDATA
usemapCDATA
ismapismap
align(top, middle, bottom, left, right)
borderCDATA
hspaceCDATA
vspaceCDATA


[Bearbeiten] XHTML 1.0 Frameset

Bedeutung
Tags Start-Tag: notwendig
End-Tag: leer

<img />
<img></img>

Elternelemente Darf vorkommen in:

a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noscript, object, p, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

Kindelemente
Attribute
NameInhaltStandardwertBedeutung
Universalattribute
idID
classCDATA
styleCDATA
titleCDATA
langNMTOKEN
xml:langNMTOKEN
dirltr, rtl
onclickCDATA
ondblclickCDATA
onmousedownCDATA
onmouseupCDATA
onmouseoverCDATA
onmousemoveCDATA
onmouseoutCDATA
onkeypressCDATA
onkeydownCDATA
onkeyupCDATA
srcCDATAPflichtattribut
altCDATAPflichtattribut
nameNMTOKEN
longdescCDATA
heightCDATA
widthCDATA
usemapCDATA
ismapismap
align(top, middle, bottom, left, right)
borderCDATA
hspaceCDATA
vspaceCDATA
Hilfe
Weitere Bereiche
Flattr