Verwenden Sie die defer -Eigenschaft, um die Option zum Verschieben für ein SCRIPT-Element festzulegen, das nur Funktionsdeklarationen enthält.
Use the defer property to set the defer attribute for a SCRIPT element that contains only function declarations.
Beachten Sie, dass die Referenz auf die JavaScript-Datei (siehe script-Element unten) im vorhergehenden JSON-Beispiel nicht benötigt wurde.
Notice that the reference to the JavaScript file (see script element below) was not required in the previous JSON example.
Schritt 1: Das script-Element...
Step 1: Taking care of the script element...
Wenn nun aber in der Bibliothek selbst auch noch weitere Bibliotheken als Abhängigkeit nachgeladen werden oder ein Script-Element verwendet wird, führt dies zu einem Fehler, da dort der Wert für nonce nicht gesetzt ist.
But if further libraries are reloaded as dependencies in the library itself or a script element is used, this leads to an error since the value for nonce is not set there.
Verwenden Sie das defer -Attribut nur, wenn das SCRIPT-Element lediglich Funktionen enthält und wenn nachfolgende, sofort ausgeführte Skripts keine dieser Funktionen aufrufen, denn sofort ausgeführter Code, der in einem verschobenen Skript definiert ist, kann zu unvorhersehbaren Ergebnissen führen.
Use the defer attribute only when the SCRIPT element contains only functions and when subsequent scripts that are immediately executed do not call any of these functions; immediately executed code defined within a deferred script can react unpredictably.
Im folgenden Beispiel wird ein SCRIPT-Element in die Kopfzeile eingefügt und der Text im aktiven Dokument durch eine Laufschrift ersetzt. Anschließend wird das Verhalten definiert und der Wert des onbounce -Attributs für das MARQUEE-Element festgelegt.
The following example inserts a SCRIPT element into the head and replaces the text in the active document with a marquee, and then specifies the behavior and sets the value of the onbounce attribute for the MARQUEE element.
Typischerweise wird das SCRIPT-Element im HEAD verwendet, es sei denn es generiert Inhalt für den BODY.
Typically the SCRIPT element is used in the HEAD unless it generates BODY content.
Pre-HTML 3.2 Browser, die das SCRIPT-Element nicht kennen, behandeln den Inhalt von SCRIPT wie normales HTML.
Pre-HTML 3.2 browsers, unaware of the SCRIPT element, will treat the content of SCRIPT as normal HTML.
Das SCRIPT-Element kann beliebig oft im Dokument-HEAD oder -BODY auftreten.
The SCRIPT element may occur any number of times in the document HEAD or BODY.
Jedes Script-Element, welches diesen Wert im Attribut nonce einsetzt, wird danach zugelassen.
Every script element that sets this value in the nonce attribute is then authorized.
So kann z.B. damit ein ActiveX-Objekt in ein HTML HTML SCRIPT-Element eingefügt werden.
For example, an ActiveX obect can be inserted within an HTML SCRIPT element.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "script-Element" in German