I've been wondering about this for quite a while, finally going to find out ;)
We have <script type="text/javascript">...</script>.
I have never seen any type but text/javascript, and sometimes the type attribute is even missing, defaulting to javascript anyway.
So, the question:
Is there any other use for the type attribute - any other script we can use?
Available types are:
If you don't specify type, text/javascript is used.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With