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>

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.

In which scenario is it beneficial to use the defer attribute in the <script> tag?

A). When the script should be executed synchronously.

B). When the script is critical for page functionality and must execute immediately.

C). When the script can be loaded asynchronously and executed after the document is parsed.

D). When the script must be executed before the document is fully loaded.

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

A). type='async'

B). async='true'

C). defer='async'

D). async

Which attribute is used to specify the location of an external JavaScript file in the <script> tag?

A). href

B). url

C). src

D). location

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.