- 1

what tag do you need to use to enclose the java script code? code,body,style, script

code

24th Jan 2021, 6:03 AM
Princegupta
Princegupta - avatar
2 Réponses
- 1
As visph mentioned, script. code - used in body, shows the content with monospace font (often used for the code). body - defines visible content, AFAIK only first tag is visible in result. style - defines CSS style of the page; not visible by default. script - defined script in JavaScript, JScript, VBS = VBScript. Language is indicated with "language" attribute, default value is "JavaScript".
24th Jan 2021, 7:15 AM
#0009e7 [get]
#0009e7 [get] - avatar
+ 1
script
24th Jan 2021, 6:10 AM
visph
visph - avatar