Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

script

Description

The script element for SVG specifies a script to be included in an SVG document.

Syntax

Attributes

crossorigin

Specifies how crossorigin requests are handled.

Value
[ anonymous | use-credentials ]?
Default
(No CORS)

href

Specifies a Uniform Resource Locator (URL) reference to the element.

Value
<url>
Default
(none)

type

Specifies the scripting language.

Value
<string>
Default
application/ecmascript

Examples

crossorigin

anonymous

use-credentials

href

<url>

type

<string>

World Wide Web Consortium (W3C)

HomeMenu