@@Matthias Scharwies
Genau, mit dem Schönheitsfehler, dass das HTMLImageElement-Objekt eigentlich falsch/ irreführend bezeichnet ist.
Der „Schönheitsfehler“ zieht sich durch viele Elemente (ist also keiner), bspw:
| HTML-Elementtyp | Interface |
|---|---|
p |
HTMLParagraphElement |
ol |
HTMLOListElement |
ul |
HTMLUListElement |
dl |
HTMLDListElement |
a |
HTMLAnchorElement |
q |
HTMLQuoteElement |
Und es gibt auch keine 1:1-Beziehung. Manche Elementtypen teilen sich ein Interface (h1 bis h6 alle HTMLHeadingElement), etliche sind einfach nur HTMLElement.
🖖 Live long and prosper
--
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis
— Bruce Springsteen, Streets of Minneapolis
In our chants of “ICE out now”
Our city’s heart and soul persists
Through broken glass and bloody tears
On the streets of Minneapolis
— Bruce Springsteen, Streets of Minneapolis