Skip to main content
","learningResourceType":"Practice problem","educationalLevel":"hard","about":"HTML","teaches":"async defer parsing internals","url":"https://journeyuncommon.com/quiz/question/3013b4c5-7c7f-43d5-b94a-7b9930169129","inLanguage":"en","isAccessibleForFree":true,"provider":{"@id":"https://journeyuncommon.com/#organization"},"isPartOf":{"@type":"WebSite","@id":"https://journeyuncommon.com/#website","name":"Journey Uncommon","url":"https://journeyuncommon.com"}}
Journey Uncommon Logo
JourneyUncommon
hardHTMLasync defer parsing internalsSingle-choice MCQ

An external script has both the async and defer attributes set. According to the HTML standard's classification of script-block types, how does the parser classify and schedule this script, and why?

<script src="/lib.js" async defer></script>