Meaning | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Meaning

What exactly is <script> ?

1st Apr 2018, 9:11 PM
Palredil25
3 Answers
+ 2
It's a tag that can contain only javascript no other script languages
1st Apr 2018, 9:23 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
More accuratly: <script> is a html tag element used to insert user side executed programming code inside web page to add programming (and so interactivity) ability to it... Actually, only javascript is available cross-browsers, so last html5 specifications have made the 'type' attribute default setted to 'text/javascript' and no more mandatory to be present, but in future other scripting languages could becomes available (even if the probability seems to be very low).
2nd Apr 2018, 9:36 AM
visph
visph - avatar
0
sweet thanks!
25th Jun 2018, 10:31 PM
Palredil25