aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/html/attributes/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/de/web/html/attributes/index.html')
-rw-r--r--files/de/web/html/attributes/index.html662
1 files changed, 0 insertions, 662 deletions
diff --git a/files/de/web/html/attributes/index.html b/files/de/web/html/attributes/index.html
deleted file mode 100644
index 3ec9df8ec7..0000000000
--- a/files/de/web/html/attributes/index.html
+++ /dev/null
@@ -1,662 +0,0 @@
----
-title: HTML attribute reference
-slug: Web/HTML/Attributes
-tags:
- - Anfänger
- - Attribute
- - Einstellungen
- - Elemente
- - HTML
- - Reference
- - Web
-translation_of: Web/HTML/Attributes
----
-<p>Elemente in HTML haben <strong>Attribute</strong>; dies sind zusätzliche Werte, die die Elemente konfigurieren oder ihr Verhalten auf verschiedene Weise anpassen, um die Kriterien zu erfüllen, die die Benutzer wollen.</p>
-
-<h2 id="Attributliste">Attributliste</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th>Attributname</th>
- <th>Elemente</th>
- <th>Beschreibung</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>accept</code></td>
- <td>{{ HTMLElement("form") }}, {{ HTMLElement("input") }}</td>
- <td>Liste der Typen, die der Server akzeptiert, in der Regel ein Dateityp.</td>
- </tr>
- <tr>
- <td><code>accept-charset</code></td>
- <td>{{ HTMLElement("form") }}</td>
- <td>Liste der unterstützten Zeichensätze.</td>
- </tr>
- <tr>
- <td><code>accesskey</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Definiert eine Tastenkombination zum Aktivieren oder Hinzufügen von Fokus auf das Element.</td>
- </tr>
- <tr>
- <td><code>action</code></td>
- <td>{{ HTMLElement("form") }}</td>
- <td>Die URI eines Programms, das die über das Formular übermittelten Informationen verarbeitet.</td>
- </tr>
- <tr>
- <td><code>align</code></td>
- <td>{{ HTMLElement("applet") }}, {{ HTMLElement("caption") }}, {{ HTMLElement("col") }}, {{ HTMLElement("colgroup") }},  {{ HTMLElement("hr") }}, {{ HTMLElement("iframe") }}, {{ HTMLElement("img") }}, {{ HTMLElement("table") }}, {{ HTMLElement("tbody") }},  {{ HTMLElement("td") }},  {{ HTMLElement("tfoot") }} , {{ HTMLElement("th") }}, {{ HTMLElement("thead") }}, {{ HTMLElement("tr") }}</td>
- <td>Gibt die horizontale Ausrichtung des Elements an.</td>
- </tr>
- <tr>
- <td><code>alt</code></td>
- <td>{{ HTMLElement("applet") }}, {{ HTMLElement("area") }}, {{ HTMLElement("img") }}, {{ HTMLElement("input") }}</td>
- <td>Alternativer Text, falls ein Bild oder ein vergleichbares anderes Element nicht angezeigt werden kann.</td>
- </tr>
- <tr>
- <td><code>async</code></td>
- <td>{{ HTMLElement("script") }}</td>
- <td>Gibt an, dass das Skript asynchron ausgeführt werden soll.</td>
- </tr>
- <tr>
- <td><code>autocomplete</code></td>
- <td>{{ HTMLElement("form") }}, {{ HTMLElement("input") }}</td>
- <td>Gibt an, ob die Kontrollen in diesem Formular standardmäßig ihre Werte automatisch durch den Browser vervollständigen können.</td>
- </tr>
- <tr>
- <td><code>autofocus</code></td>
- <td>{{ HTMLElement("button") }}, {{ HTMLElement("input") }}, {{ HTMLElement("keygen") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }}</td>
- <td>Das Element sollte nach der geladenen Seite automatisch fokussiert werden.</td>
- </tr>
- <tr>
- <td><code>autoplay</code></td>
- <td>{{ HTMLElement("audio") }}, {{ HTMLElement("video") }}</td>
- <td>Das Audio oder Video sollte so schnell wie möglich spielen.</td>
- </tr>
- <tr>
- <td><code>autosave</code></td>
- <td>{{ HTMLElement("input") }}</td>
- <td>Bisherige Werte sollten Dropdowns von auswählbaren Werten über Seitenlasten bestehen bleiben.</td>
- </tr>
- <tr>
- <td><code>bgcolor</code></td>
- <td>{{ HTMLElement("body") }}, {{ HTMLElement("col") }}, {{ HTMLElement("colgroup") }}, {{ HTMLElement("marquee") }}, {{ HTMLElement("table") }}, {{ HTMLElement("tbody") }}, {{ HTMLElement("tfoot") }}, {{ HTMLElement("td") }}, {{ HTMLElement("th") }}, {{ HTMLElement("tr") }}</td>
- <td>
- <p>Hintergrundfarbe des Elements</p>
-
- <div class="note">
- <p><strong>Hinweis:</strong> Dies ist ein veraltetes Attribut. Bitte benutze stattdessen die CSS {{ Cssxref("background-color") }} Eigenschachaft.</p>
- </div>
- </td>
- </tr>
- <tr>
- <td><code>border</code></td>
- <td>{{ HTMLElement("img") }}, {{ HTMLElement("object") }}, {{ HTMLElement("table") }}</td>
- <td>
- <p>Die Randbreite eines Elements</p>
-
- <div class="note">
- <p><strong>Hinweis:</strong> Die ist ein veraltetes Attribut. Bitte benutze stattdessen die CSS {{ Cssxref("border") }} Eigenschaft.</p>
- </div>
- </td>
- </tr>
- <tr>
- <td><code>buffered</code></td>
- <td>{{ HTMLElement("audio") }}, {{ HTMLElement("video") }}</td>
- <td>Enthält den Zeitbereich von bereits gepufferten Medien.</td>
- </tr>
- <tr>
- <td><code>challenge</code></td>
- <td>{{ HTMLElement("keygen") }}</td>
- <td>Eine Herausforderung, die zusammen mit dem öffentlichen Schlüssel eingereicht wird.</td>
- </tr>
- <tr>
- <td><code>charset</code></td>
- <td>{{ HTMLElement("meta") }}, {{ HTMLElement("script") }}</td>
- <td>Deklariert die Zeichencodierung der Seite oder des Skripts.</td>
- </tr>
- <tr>
- <td><code>checked</code></td>
- <td>{{ HTMLElement("command") }}, {{ HTMLElement("input") }}</td>
- <td>Gibt an, ob das Element auf Seitenladung überprüft werden soll.</td>
- </tr>
- <tr>
- <td><code>cite</code></td>
- <td>{{ HTMLElement("blockquote") }}, {{ HTMLElement("del") }}, {{ HTMLElement("ins") }}, {{ HTMLElement("q") }}</td>
- <td>Enthält einen URI, der auf die Quelle des Angebots oder der Änderung verweist.</td>
- </tr>
- <tr>
- <td><code>class</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Oft mit CSS verwendet, um Elemente mit gemeinsamen Eigenschaften zu gestalten.</td>
- </tr>
- <tr>
- <td><code>code</code></td>
- <td>{{ HTMLElement("applet") }}</td>
- <td>Gibt die URL der zu ladenden und ausgeführten Klassendatei des Applets an.</td>
- </tr>
- <tr>
- <td><code>codebase</code></td>
- <td>{{ HTMLElement("applet") }}</td>
- <td>Dieses Attribut gibt die absolute oder relative URL des Verzeichnisses an, in dem Applets '.class-Dateien, die durch das Codeattribut referenziert werden, gespeichert sind.</td>
- </tr>
- <tr>
- <td><code>color</code></td>
- <td>{{ HTMLElement("basefont") }}, {{ HTMLElement("font") }}, {{ HTMLElement("hr") }}</td>
- <td>
- <p>Dieses Attribut setzt die Textfarbe entweder mit einer benannten Farbe oder einer Farbe, die im hexadezimalen #RRGGBB-Format angegeben ist.</p>
-
- <div class="note">
- <p><strong>Hinweis:</strong> Das ist ein veraltetestes Attribut. Bitte benutze stattdessen die CSS {{ Cssxref("color") }} Eigenschaft.</p>
- </div>
- </td>
- </tr>
- <tr>
- <td><code>cols</code></td>
- <td>{{ HTMLElement("textarea") }}</td>
- <td>Definiert die Anzahl der Spalten in einem Textbereich.</td>
- </tr>
- <tr>
- <td><code>colspan</code></td>
- <td>{{ HTMLElement("td") }}, {{ HTMLElement("th") }}</td>
- <td>Das colspan-Attribut definiert die Anzahl der Spalten, die eine Zelle überspannen soll.</td>
- </tr>
- <tr>
- <td><code>content</code></td>
- <td>{{ HTMLElement("meta") }}</td>
- <td>Ein Wert, der mit <code>http-equiv</code> oder dem Namen verbunden ist, abhängig vom Kontext.</td>
- </tr>
- <tr>
- <td><code>contenteditable</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Gibt an, ob der Inhalt des Elements bearbeitet werden kann.</td>
- </tr>
- <tr>
- <td><code>contextmenu</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Definiert die ID eines {{HTMLElement("menu")}} - Elements, das als Kontextmenü des Elements dient.</td>
- </tr>
- <tr>
- <td><code>controls</code></td>
- <td>{{ HTMLElement("audio") }}, {{ HTMLElement("video") }}</td>
- <td>Gibt an, ob der Browser dem Benutzer die Wiedergabesteuerung anzeigen soll.</td>
- </tr>
- <tr>
- <td><code>coords</code></td>
- <td>{{ HTMLElement("area") }}</td>
- <td>Ein Satz von Werten, die die Koordinaten des Hot-Spot-Bereichs angeben.</td>
- </tr>
- <tr>
- <td><code><a href="/en-US/docs/Web/HTML/CORS_settings_attributes">crossorigin</a></code></td>
- <td>{{ HTMLElement("audio") }}, {{ HTMLElement("img") }}, {{ HTMLElement("link") }}, {{ HTMLElement("script") }}, {{ HTMLElement("video") }}</td>
- <td>Wie das Element grenzüberschreitende Anfragen behandelt.</td>
- </tr>
- <tr>
- <td><code>data</code></td>
- <td>{{ HTMLElement("object") }}</td>
- <td>Gibt die URL der Ressource an.</td>
- </tr>
- <tr>
- <td><code>data-*</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Ermöglicht es Ihnen, benutzerdefinierte Attribute an ein HTML-Element anzuhängen.</td>
- </tr>
- <tr>
- <td><code>datetime</code></td>
- <td>{{ HTMLElement("del") }}, {{ HTMLElement("ins") }}, {{ HTMLElement("time") }}</td>
- <td>Gibt das Datum und die Uhrzeit an, die dem Element zugeordnet sind.</td>
- </tr>
- <tr>
- <td><code>default</code></td>
- <td>{{ HTMLElement("track") }}</td>
- <td>Zeigt an, dass die Spur aktiviert werden soll, es sei denn, die Einstellungen des Benutzers zeigen etwas anderes an.</td>
- </tr>
- <tr>
- <td><code>defer</code></td>
- <td>{{ HTMLElement("script") }}</td>
- <td>Gibt an, dass das Skript nach dem Analysieren der Seite ausgeführt werden soll.</td>
- </tr>
- <tr>
- <td><code>dir</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Definiert die Textrichtung. Zulässige Werte sind (links-nach-rechts oder rechts-nach-links)</td>
- </tr>
- <tr>
- <td><code>dirname</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("textarea") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>disabled</code></td>
- <td>{{ HTMLElement("button") }}, {{ HTMLElement("command") }}, {{ HTMLElement("fieldset") }}, {{ HTMLElement("input") }}, {{ HTMLElement("keygen") }}, {{ HTMLElement("optgroup") }}, {{ HTMLElement("option") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }}</td>
- <td>Gibt an, ob der Benutzer mit dem Element interagieren kann.</td>
- </tr>
- <tr>
- <td><code>download</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}</td>
- <td>Zeigt an, dass der Hyperlink zum Herunterladen einer Ressource verwendet werden soll.</td>
- </tr>
- <tr>
- <td><code>draggable</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Legt fest, ob das Element gezogen werden kann.</td>
- </tr>
- <tr>
- <td><code>dropzone</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Gibt an, dass das Element das Fallenlassen von Inhalt auf ihm akzeptiert.</td>
- </tr>
- <tr>
- <td><code>enctype</code></td>
- <td>{{ HTMLElement("form") }}</td>
- <td>Definiert den Inhaltstyp des Formulars, wenn die Methode POST ist.</td>
- </tr>
- <tr>
- <td><code>for</code></td>
- <td>{{ HTMLElement("label") }}, {{ HTMLElement("output") }}</td>
- <td>Beschreibt Elemente, die zu diesem gehören.</td>
- </tr>
- <tr>
- <td><code>form</code></td>
- <td>{{ HTMLElement("button") }}, {{ HTMLElement("fieldset") }}, {{ HTMLElement("input") }}, {{ HTMLElement("keygen") }}, {{ HTMLElement("label") }}, {{ HTMLElement("meter") }}, {{ HTMLElement("object") }}, {{ HTMLElement("output") }}, {{ HTMLElement("progress") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }}</td>
- <td>Gibt das Formular an, das der Besitzer des Elements ist.</td>
- </tr>
- <tr>
- <td><code>formaction</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("button") }}</td>
- <td>Gibt die Aktion des Elements an und überschreibt die im {{HTMLElement ("Formular")}} definierte Aktion.</td>
- </tr>
- <tr>
- <td><code>headers</code></td>
- <td>{{ HTMLElement("td") }}, {{ HTMLElement("th") }}</td>
- <td>IDs der <code>&lt;th&gt;</code> -Elemente, die für dieses Element gelten.</td>
- </tr>
- <tr>
- <td><code>height</code></td>
- <td>{{ HTMLElement("canvas") }}, {{ HTMLElement("embed") }}, {{ HTMLElement("iframe") }}, {{ HTMLElement("img") }}, {{ HTMLElement("input") }}, {{ HTMLElement("object") }}, {{ HTMLElement("video") }}</td>
- <td>
- <p>Gibt die Höhe der hier aufgeführten Elemente an. Für alle anderen Elemente verwenden Sie die Eigenschaft CSS {{cssxref ("height")}}.</p>
-
- <div class="note">
- <p><strong>Hinweis:</strong> In einigen Fällen wie {{HTMLElement ("div")}} ist dies ein Legacy-Attribut, in welchem ​​Fall die CSS {{Cssxref ("height")}} Eigenschaft stattdessen verwendet werden soll.</p>
- </div>
- </td>
- </tr>
- <tr>
- <td><code>hidden</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Verhindert das Rendering des gegebenen Elements, während Kinderelemente, z.B. Script-Elemente, aktiv.</td>
- </tr>
- <tr>
- <td><code>high</code></td>
- <td>{{ HTMLElement("meter") }}</td>
- <td>Zeigt die untere Schranke des oberen Bereichs an.</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}, {{ HTMLElement("base") }}, {{ HTMLElement("link") }}</td>
- <td>Gibt die URL einer verknüpften Ressource an.</td>
- </tr>
- <tr>
- <td><code>hreflang</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}, {{ HTMLElement("link") }}</td>
- <td>Gibt die Sprache der verknüpften Ressource an.</td>
- </tr>
- <tr>
- <td><code>http-equiv</code></td>
- <td>{{ HTMLElement("meta") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>icon</code></td>
- <td>{{ HTMLElement("command") }}</td>
- <td>Gibt ein Bild an, das den Befehl darstellt.</td>
- </tr>
- <tr>
- <td><code>id</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Oft mit CSS verwendet, um ein bestimmtes Element zu stylen. Der Wert dieses Attributs muss eindeutig sein.</td>
- </tr>
- <tr>
- <td><code>integrity</code></td>
- <td>{{ HTMLElement("link") }}, {{ HTMLElement("script") }} </td>
- <td>
- <p>Sicherheits-Feature, das Browsern ermöglicht zu verifizieren, was sie abrufen.</p>
-
- <p><a href="https://developer.mozilla.org/de/docs/Web">MDN Link</a></p>
- </td>
- </tr>
- <tr>
- <td><code>ismap</code></td>
- <td>{{ HTMLElement("img") }}</td>
- <td>Gibt an, dass das Bild Teil einer Server-seitigen Image-Map ist.</td>
- </tr>
- <tr>
- <td><code>itemprop</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td></td>
- </tr>
- <tr>
- <td><code>keytype</code></td>
- <td>{{ HTMLElement("keygen") }}</td>
- <td>Spezifiziert den Typ des generierten Schlüssels.</td>
- </tr>
- <tr>
- <td><code>kind</code></td>
- <td>{{ HTMLElement("track") }}</td>
- <td>Spezifiziert die Art der Textspur.</td>
- </tr>
- <tr>
- <td><code>label</code></td>
- <td>{{ HTMLElement("track") }}</td>
- <td>Definiert einen für den Nutzer lesbaren Titel der Textspur.</td>
- </tr>
- <tr>
- <td><code>lang</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Definiert die im Element genutzte Sprache.</td>
- </tr>
- <tr>
- <td><code>language</code></td>
- <td>{{ HTMLElement("script") }}</td>
- <td>Definiert die im Element genutzte Skriptsprache.</td>
- </tr>
- <tr>
- <td><code>list</code></td>
- <td>{{ HTMLElement("input") }}</td>
- <td>Identifiziert eine dem Nutzer vorzuschlagende Liste vordefinierter Optionen.</td>
- </tr>
- <tr>
- <td><code>loop</code></td>
- <td>{{ HTMLElement("audio") }}, {{ HTMLElement("bgsound") }}, {{ HTMLElement("marquee") }}, {{ HTMLElement("video") }}</td>
- <td>Gibt an, ob das Medium ab dem Start beginnen soll, wenn es fertig ist.</td>
- </tr>
- <tr>
- <td><code>low</code></td>
- <td>{{ HTMLElement("meter") }}</td>
- <td>Zeigt die obere Schranke des unteren Bereiches an.</td>
- </tr>
- <tr>
- <td><code>manifest</code></td>
- <td>{{ HTMLElement("html") }}</td>
- <td>Gibt die URL des Cache-Manifests des Dokuments an.</td>
- </tr>
- <tr>
- <td><code>max</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("meter") }}, {{ HTMLElement("progress") }}</td>
- <td>Gibt den maximal zulässigen Wert an.</td>
- </tr>
- <tr>
- <td><code>maxlength</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("textarea") }}</td>
- <td>Definiert die maximal zulässige Anzahl von Zeichen im Element.</td>
- </tr>
- <tr>
- <td><code>media</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}, {{ HTMLElement("link") }}, {{ HTMLElement("source") }}, {{ HTMLElement("style") }}</td>
- <td>Gibt einen Hinweis auf das Medium an, für das die verknüpfte Ressource entworfen wurde.</td>
- </tr>
- <tr>
- <td><code>method</code></td>
- <td>{{ HTMLElement("form") }}</td>
- <td>Legt fest, welche HTTP-Methode bei der Übermittlung des Formulars verwendet werden soll. Kann GET (Standard) oder POST sein.</td>
- </tr>
- <tr>
- <td><code>min</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("meter") }}</td>
- <td>Gibt den zulässigen Mindestwert an.</td>
- </tr>
- <tr>
- <td><code>multiple</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("select") }}</td>
- <td>Gibt an, ob mehrere Werte in einer Eingabe des Typs E-Mail oder Datei eingegeben werden können.</td>
- </tr>
- <tr>
- <td><code>muted</code></td>
- <td>{{ HTMLElement("video") }}</td>
- <td>Zeigt an, ob der Ton anfänglich auf Seitenladung ausgeschaltet wird.</td>
- </tr>
- <tr>
- <td><code>name</code></td>
- <td>{{ HTMLElement("button") }}, {{ HTMLElement("form") }}, {{ HTMLElement("fieldset") }}, {{ HTMLElement("iframe") }}, {{ HTMLElement("input") }}, {{ HTMLElement("keygen") }}, {{ HTMLElement("object") }}, {{ HTMLElement("output") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }}, {{ HTMLElement("map") }}, {{ HTMLElement("meta") }}, {{ HTMLElement("param") }}</td>
- <td>Name des Elements. Zum Beispiel von dem Server verwendet, um die Felder in Form zu übermitteln.</td>
- </tr>
- <tr>
- <td><code>novalidate</code></td>
- <td>{{ HTMLElement("form") }}</td>
- <td>Dieses Attribut gibt an, dass das Formular bei der Übermittlung nicht validiert werden darf.</td>
- </tr>
- <tr>
- <td><code>open</code></td>
- <td>{{ HTMLElement("details") }}</td>
- <td>Gibt an, ob die Details auf Seite geladen werden sollen.</td>
- </tr>
- <tr>
- <td><code>optimum</code></td>
- <td>{{ HTMLElement("meter") }}</td>
- <td>Zeigt den optimalen numerischen Wert an.</td>
- </tr>
- <tr>
- <td><code>pattern</code></td>
- <td>{{ HTMLElement("input") }}</td>
- <td>Definiert einen regulären Ausdruck, den der Wert des Elements validiert.</td>
- </tr>
- <tr>
- <td><code>ping</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>placeholder</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("textarea") }}</td>
- <td>Bietet dem Benutzer einen Hinweis darauf, was im Feld eingegeben werden kann.</td>
- </tr>
- <tr>
- <td><code>poster</code></td>
- <td>{{ HTMLElement("video") }}</td>
- <td>Eine URL, die einen Posterrahmen anzeigt, bis der Benutzer spielt oder sucht.</td>
- </tr>
- <tr>
- <td><code>preload</code></td>
- <td>{{ HTMLElement("audio") }}, {{ HTMLElement("video") }}</td>
- <td>Indicates whether the whole resource, parts of it or nothing should be preloaded.</td>
- </tr>
- <tr>
- <td><code>radiogroup</code></td>
- <td>{{ HTMLElement("command") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>readonly</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("textarea") }}</td>
- <td>Indicates whether the element can be edited.</td>
- </tr>
- <tr>
- <td><code>rel</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}, {{ HTMLElement("link") }}</td>
- <td>Specifies the relationship of the target object to the link object.</td>
- </tr>
- <tr>
- <td><code>required</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }}</td>
- <td>Indicates whether this element is required to fill out or not.</td>
- </tr>
- <tr>
- <td><code>reversed</code></td>
- <td>{{ HTMLElement("ol") }}</td>
- <td>Indicates whether the list should be displayed in a descending order instead of a ascending.</td>
- </tr>
- <tr>
- <td><code>rows</code></td>
- <td>{{ HTMLElement("textarea") }}</td>
- <td>Defines the number of rows in a text area.</td>
- </tr>
- <tr>
- <td><code>rowspan</code></td>
- <td>{{ HTMLElement("td") }}, {{ HTMLElement("th") }}</td>
- <td>Defines the number of rows a table cell should span over.</td>
- </tr>
- <tr>
- <td><code>sandbox</code></td>
- <td>{{ HTMLElement("iframe") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>scope</code></td>
- <td>{{ HTMLElement("th") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>scoped</code></td>
- <td>{{ HTMLElement("style") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>seamless</code></td>
- <td>{{ HTMLElement("iframe") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>selected</code></td>
- <td>{{ HTMLElement("option") }}</td>
- <td>Defines a value which will be selected on page load.</td>
- </tr>
- <tr>
- <td><code>shape</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>size</code></td>
- <td>{{ HTMLElement("input") }}, {{ HTMLElement("select") }}</td>
- <td>Defines the width of the element (in pixels). If the element's <code>type</code> attribute is <code>text</code> or <code>password</code> then it's the number of characters.</td>
- </tr>
- <tr>
- <td><code>sizes</code></td>
- <td>{{ HTMLElement("link") }}, {{ HTMLElement("img") }}, {{ HTMLElement("source") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>slot</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Assigns a slot in a shadow DOM shadow tree to an element.</td>
- </tr>
- <tr>
- <td><code>span</code></td>
- <td>{{ HTMLElement("col") }}, {{ HTMLElement("colgroup") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>spellcheck</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Indicates whether spell checking is allowed for the element.</td>
- </tr>
- <tr>
- <td><code>src</code></td>
- <td>{{ HTMLElement("audio") }}, {{ HTMLElement("embed") }}, {{ HTMLElement("iframe") }}, {{ HTMLElement("img") }}, {{ HTMLElement("input") }}, {{ HTMLElement("script") }}, {{ HTMLElement("source") }}, {{ HTMLElement("track") }}, {{ HTMLElement("video") }}</td>
- <td>Die URL des einbettbaren Inhalts.</td>
- </tr>
- <tr>
- <td><code>srcdoc</code></td>
- <td>{{ HTMLElement("iframe") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>srclang</code></td>
- <td>{{ HTMLElement("track") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>srcset</code></td>
- <td>{{ HTMLElement("img") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>start</code></td>
- <td>{{ HTMLElement("ol") }}</td>
- <td>Definiert die erste Zahl, wenn sie anders als 1 ist.</td>
- </tr>
- <tr>
- <td><code>step</code></td>
- <td>{{ HTMLElement("input") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>style</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Definiert CSS Stile für das Element und überschreibt andere Stile, welche z.B. in einem Stylesheet für das Element festgelegt sind.</td>
- </tr>
- <tr>
- <td><code>summary</code></td>
- <td>{{ HTMLElement("table") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>tabindex</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Overrides the browser's default tab order and follows the one specified instead.</td>
- </tr>
- <tr>
- <td><code>target</code></td>
- <td>{{ HTMLElement("a") }}, {{ HTMLElement("area") }}, {{ HTMLElement("base") }}, {{ HTMLElement("form") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>title</code></td>
- <td><a href="https://developer.mozilla.org/de/docs/Web/HTML/Globale_Attribute">Globales Attribut</a></td>
- <td>Text to be displayed in a tooltip when hovering over the element.</td>
- </tr>
- <tr>
- <td><code>type</code></td>
- <td>{{ HTMLElement("button") }}, {{ HTMLElement("input") }}, {{ HTMLElement("command") }}, {{ HTMLElement("embed") }}, {{ HTMLElement("object") }}, {{ HTMLElement("script") }}, {{ HTMLElement("source") }}, {{ HTMLElement("style") }}, {{ HTMLElement("menu") }}</td>
- <td>Definiert den Typ eines Elements.</td>
- </tr>
- <tr>
- <td><code>usemap</code></td>
- <td>{{ HTMLElement("img") }},  {{ HTMLElement("input") }}, {{ HTMLElement("object") }}</td>
- <td></td>
- </tr>
- <tr>
- <td><code>value</code></td>
- <td>{{ HTMLElement("button") }}, {{ HTMLElement("option") }}, {{ HTMLElement("input") }}, {{ HTMLElement("li") }}, {{ HTMLElement("meter") }}, {{ HTMLElement("progress") }}, {{ HTMLElement("param") }}</td>
- <td>Defines a default value which will be displayed in the element on page load.</td>
- </tr>
- <tr>
- <td><code>width</code></td>
- <td>{{ HTMLElement("canvas") }}, {{ HTMLElement("embed") }}, {{ HTMLElement("iframe") }}, {{ HTMLElement("img") }}, {{ HTMLElement("input") }}, {{ HTMLElement("object") }}, {{ HTMLElement("video") }}</td>
- <td>
- <p>For the elements listed here, this establishes the element's width.</p>
-
- <div class="note">
- <p><strong>Note:</strong> For all other instances, such as {{ HTMLElement("div") }}, this is a legacy attribute, in which case the CSS {{ Cssxref("width") }} property should be used instead.</p>
- </div>
- </td>
- </tr>
- <tr>
- <td><code>wrap</code></td>
- <td>{{ HTMLElement("textarea") }}</td>
- <td>Indicates whether the text should be wrapped.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Content_versus_IDL_attributes">Content versus IDL attributes</h2>
-
-<p>In HTML, most attributes have two faces: the <strong>content attribute</strong> and the <strong>IDL attribute</strong>.</p>
-
-<p>The content attribute is the attribute as you set it from the content (the HTML code) and you can set it or get it via {{domxref("element.setAttribute()")}} or {{domxref("element.getAttribute()")}}. The content attribute is always a string even when the expected value should be an integer. For example, to set an {{HTMLElement("input")}} element's <code>maxlength</code> to 42 using the content attribute, you have to call <code>setAttribute("maxlength", "42")</code> on that element.</p>
-
-<p>The IDL attribute is also known as a JavaScript property. These are the attributes you can read or set using JavaScript properties like <code class="moz-txt-verticalline">element.foo</code>. The IDL attribute is always going to use (but might transform) the underlying content attribute to return a value when you get it and is going to save something in the content attribute when you set it. In other words, the IDL attributes, in essence, reflect the content attributes.</p>
-
-<p>Most of the time, IDL attributes will return their values as they are really used. For example, the default <code>type</code> for {{HTMLElement("input")}} elements is "text", so if you set <code>input.type="foobar"</code>, the <code>&lt;input&gt;</code> element will be of type text (in the appearance and the behavior) but the "type" content attribute's value will be "foobar". However, the <code>type</code> IDL attribute will return the string "text".</p>
-
-<p>IDL attributes are not always strings; for example, <code>input.maxlength</code> is a number (a signed long). When using IDL attributes, you read or set values of the desired type, so <code>input.maxlength</code> is always going to return a number and when you set <code>input.maxlength</code> ,it wants a number. If you pass another type, it is automatically converted to a number as specified by the standard JavaScript rules for type conversion.</p>
-
-<p>IDL attributes can <a href="https://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#reflecting-content-attributes-in-idl-attributes">reflect other types</a> such as unsigned long, URLs, booleans, etc. Unfortunately, there are no clear rules and the way IDL attributes behave in conjunction with their corresponding content attributes depends on the attribute. Most of the time, it will follow <a href="https://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#reflecting-content-attributes-in-idl-attributes">the rules laid out in the specification</a>, but sometimes it doesn't. HTML specifications try to make this as developer-friendly as possible, but for various reasons (mostly historical), some attributes  behave oddly (<code>select.size</code>, for example) and you should read the specifications to understand how exactly they behave.</p>
-
-<h2 id="Siehe_auch">Siehe auch</h2>
-
-<ul>
- <li><a href="https://developer.mozilla.org/de/docs/Web/HTML/Element">HTML-Elemente</a></li>
-</ul>