31
We are in 2016. I have read in some places on the internet that it is no longer necessary to use this statement type="text/javascript"
. In fact, use the tag script
without declaring this excerpt does not affect the operation of Javascript at all.
But even so, still in updated Ides (such as Sublime Text 3), the autocomplete mechanism causes the tag <script>
is declared with type="text/javascript"
.
I wonder if it’s safe to stop using text/javascript
.
Some Ides still ask for compatibility?
The second link is broken
– Jefferson Quesado
Updated link! :)
– Laerte