Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 1
to include JavaScript we use <script> ......</script> tag. but somewhere I read that <script type="text/JavaScript">.....</script> is used....can anybody explain what's the difference
2 ответов
+ 2
The type is js by default in html5, which is supported by all major browsers. Still, you should precise the type anyway just in case someone is using an outdated browser.
0
if you want to put the type ypu can put it whete you want, but it is not necessary.