Classic scripts are affected by the async and defer attributes, but only when the src attribute is set. Authors should omit the type attribute instead of redundantly setting it.

Classic scripts vs Module scripts

Classic scripts Module script
no any attribute passed the scripted is fetched and evaluated immediately, blocking parsing until these are both complete The module script and its dependencies will be

asyncdefer.svg

plain vs async vs defer

<script> tags are used to include Javascript on the web page. The async and defer attributes are used to change how/when the loading and the execution of the script happens.