Skip to main content
\n","learningResourceType":"Practice problem","educationalLevel":"hard","about":"HTML","teaches":"the preload scanner","url":"https://journeyuncommon.com/quiz/question/da80c9cf-8ef3-4630-977b-90fa6e5745e5","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
hardHTMLthe preload scannerSingle-choice MCQ

While a render-blocking stylesheet earlier on the page has paused the main parser, the preload scanner runs ahead over the bytes below. What is it most likely to do with hero.jpg, and why can that be wrong?

<script>document.write('<base href="https://cdn.example.com/">');</script> <img src="hero.jpg">