Der Inhalt sollte innerhalb von Block-Level Elementen oder SCRIPT-Elementen stehen, HTML 4 Transitional erlaubt ebenfalls Inline Elemente direkt im BODY.
The content should be contained within block-level elements or SCRIPT elements, though HTML 4 Transitional also allows inline elements directly within BODY.
Das<SCRIPT>-Element im Objektmodell der HTML-Seite vorhanden ist.
Dies führt zum Problem, wenn eine Web-Anwendung so entwickelt wurde, dass direkt in HTML-Code mit dem Element script gearbeitet wird.
For web applications developed in this way, this leads to the problem that the script element is processed directly in the HTML code.
Bei dieser Konfiguration erhalten alle Geräte denselben HTML-Code. Dieser enthält ein<script>-Element, mit dem eine externe JavaScript-Datei eingebunden wird, deren Inhalt sich wiederum nach dem anfordernden User-Agent richtet.
Dynamically-served JavaScript In this configuration, all devices are served the same HTML which includes a<script>element to include an external JavaScript file that can have different content depending on the requesting user-agent.
Beispiel: Eine Seite liefert denselben HTML-Code an alle Geräte. Dieser HTML-Code enthält ein<script>-Element, über das mithilfe einer externen URL der JavaScript-Code abgefragt wird.
As an example, a page serves all devices the same HTML that includes a<script>element that requests an external URL that serves the JavaScript.
Folgende 2 Script-Elemente müssen Sie in den html-Code ihrer Seite übernehmen.
In HTML 4 Strict, ein oder mehrere SCRIPT oder Block-Level Elemente außer FORM
In HTML 4 Strict, one or more SCRIPT or block-level elements except FORM
Das Attribut type des Elements script ist seit der Einführung von HTML 4 erforderlich, durch die das Attribut language seine Bedeutung verloren hat.
The type attribute of the script element has been required since HTML 4, when the language attribute was deprecated.
Das Skriptprogramm identifiziert das Skript mithilfe der Dateinamenerweiterung (.vbs für VBScript; .js für JScript) und nicht mithilfe des in HTML verwendeten Tags SCRIPT.
The script engine uses file name extensions (.vbs for VBScript; .js for JScript) to identify the script instead of using the SCRIPT tag (used in HTML).
Hierzu sind keine Programmierkenntnisse in HTML oder Java Script mehr erforderlich.
No programming knowledge in HTML or Java Script is required anymore.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.