pub fn script_language(type_attribute: &str) -> Option<&'static str>Expand description
The language of a script element’s content from its type attribute.
JavaScript for classic scripts and modules, JSON for import maps,
speculation rules and JSON types, otherwise the registered language the
MIME subtype names (such as text/typescript); None for other data
blocks.