webdev/html/elements/script

script

dz / webdev / html / elements / script

Node Tree

Nodes

type
content The type attribute of the <script> element indicates the type of script represented by the element: a classic script, an import map, a JavaScript module, speculation rules, or a data block.
children javascript/import_js_module_html (when "type" is set to "module", it turns it into a JS,module, which implicitely adds more strictness to,the js docs)
hyperlink https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type