- 1
what tag do you need to use to enclose the java script code? code,body,style, script
code
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".
+ 1
script