What is the purpose of using external JavaScript files instead of inline code?

A). To reduce code redundancy and promote code reusability.

B). To execute JavaScript code asynchronously.

C). To ensure inline code executes before external code.

D). To improve security by isolating JavaScript code.

Which attribute of the <script> tag is used to delay script execution until after the document is parsed?

A). type='defer'

B). async='false'

C). defer='true'

D). defer