Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

contentScriptType

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

« SVG Attribute reference home

The contentScriptType attribute on the <svg> element specifies the default scripting language for the given document fragment.

This attribute sets the default scripting language used to process the value strings in event attributes. This language must be used for all instances of script that do not specify their own scripting language. The value content-type specifies a media type, per MIME Part Two: Media Types [RFC2046]. The default value is application/ecmascript

Usage context

Categories None
Value <content-type>
Animatable No
Normative document SVG 1.1 (2nd Edition)

See also

文件標籤與貢獻者

 此頁面的貢獻者: Jeremie
 最近更新: Jeremie,