What attribute of the <script> tag allows asynchronous loading of scripts?

A). type='async'

B). async='true'

C). defer='async'

D). async

What is the correct way to include an inline JavaScript code block using the <script> tag?

A). <script type='text/javascript'>...</script>

B). <script inline>...</script>

C). <script>

D). <js>...</js>

Where is the recommended place to include external JavaScript files in an HTML document?

A). Inside the <head> section.

B). Before the closing tag.

C). After the opening tag.

D). Inside the <body> section, anywhere.

What is the purpose of using the async attribute in the <script> tag?

A). To ensure the script is executed after the document is parsed.

B). To execute the script synchronously.

C). To load the script asynchronously, improving page load performance.

D). To delay script execution until user interaction.

What is the purpose of including the defer attribute in a <script> tag?

A). To execute the script asynchronously.

B). To delay script execution until after the document is parsed.

C). To specify the scripting language used in the script.

D). To load an external script file.

What is the purpose of the <noscript> tag in HTML?

A). It specifies that JavaScript should not be executed on the page.

B). It provides fallback content for browsers that do not support JavaScript.

C). It includes external JavaScript files in the document.

D). It allows asynchronous loading of scripts.

How can you specify the version of JavaScript used in a <script> tag?

A). By including the version attribute in the <script> tag.

B). By specifying the JavaScript version in the opening <script> tag comment.

C). By using the type attribute with the appropriate MIME type.

D). By placing the JavaScript code within a CDATA section.