Reputation: 38190
I can't find any emmet for
<script type="text/javascript">
is this omitted by emmet ? I can't find on google either.
Upvotes: 0
Views: 1275
Reputation: 181060
probably because of this from MDN:
Omitted or a JavaScript MIME type: This indicates the script is JavaScript. The HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
If you really want it you could make an emmet snippet ala
"script:type": "<script type=\"text/javascript\"></script>"
For the details on how to do that, see Link+tab shortcut Emmet on VSCode - How can I get the "type" to be included in this?
Upvotes: 1