Web Technology
Accenture PrimereasyWeb TechnologyJavascript

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

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.

Related Accenture Web Technology questions

Practice more Accenture Web Technology questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.