Beim Schreiben in HTML ist das
Beispiel für
<canvas id="firstCanvas" width="250" height="250">
Unfortunately, your browser doesn't support the canvas element.
</canvas>
Attribute
Innerhalb eines HTML-Tags bestimmt ein Attribut bestimmte Aspekte eines HTML-Elements. Attribute bestehen aus einem Paar aus Name und Wert; Alle Tags unterstützen Standardattribute. Die folgende Tabelle zeigt alle aktuellen eindeutigen HTML-Attribute für das
Attribut | Beschreibung |
---|---|
Höhe | Bezeichnet die Höhe der Leinwand. |
Breite | Bezeichnet die Breite der Leinwand. |
Kompatibilität
Rand | Internet Explorer | Feuerfuchs | Safari | Oper | Chrom |
---|---|---|---|---|---|
9.0+ | 9.0+ | 2.0+ | 3.1+ | 9.0+ | 4.0+ |
Animation, Browser, Kompatibilität, Container-Tag, Webdesign-Begriffe