type attribute of the
The value of this attribute indicates the type of data represented by the script, and will be one of the following:
deferattributes have no effect. For information on using
This value indicates that the body of the element contains speculation rules. Speculation rules take the form of a JSON object that determine what resources should be prefetched or prerendered by the browser. This is part of the Speculation Rules API.
- Any other value
Note: In earlier browsers, the type identified the scripting language of the embedded or imported (via the
src attribute) code.
No specification found
No specification data found for
Check for problems with this page or contribute a missing
spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
BCD tables only load in the browser