When you want to enclose; some JavaScript statements to an HTML file, which is the correct tag you have to use?
Answer options
A
True
B
False
Correct answer: True
Explanation
Quick AnswerThe correct answer is True because it directly addresses the core logic of Web Technology.
JavaScript is embedded in HTML using the <script> tag. It can appear in <head> or <body>, either with inline code or a src attribute pointing to an external .js file.