0

Why we use the 'Script' tag in HTML??. I would be really grateful if anyone explain this thing thoroughly

22nd Sep 2019, 4:20 PM
Nafiyeen Hossain
4 ответов
+ 2
hi! we use the 'script' tags (open and close) to indicate to the internet browsers who read the document HTML (markup language), that between this two Tags/Markups we use CODE JavaScript (programmation language). So, it's like a switch to say to browsers : (on = open tag) don't show everythings in the user screen (it isn't just formating text), you must use a different way to use and interprete this part of document. (off = close tag) return to normal HTML interpretation.
22nd Sep 2019, 4:48 PM
Oneill~Онеилл~奥尼尔~ओनील~اونیل~*‎
Oneill~Онеилл~奥尼尔~ओनील~اونیل~*‎ - avatar
+ 3
Script tags tell browsers that the text written between <script> and </script> is code of a programming language. (JavaScript by default)
22nd Sep 2019, 4:57 PM
Seb TheS
Seb TheS - avatar
+ 1
If we use script tag then our browser our code which is javascript code that mean by using this tag browser understand our js code and then browser provide outputs
23rd Sep 2019, 4:51 PM
OverSmart
0
to insert javascript code
22nd Sep 2019, 4:36 PM
Airree
Airree - avatar