Complete the code to specify the HTML tag that helps improve page speed by preloading important resources.
<link rel="[1]" href="style.css">
The preload value in the rel attribute tells the browser to load the resource early, improving page speed.
Complete the sentence to describe a key factor affecting page speed.
One major factor that slows down page speed is the size of [1] on the page.Large or unoptimized images take longer to load, which slows down the page speed.
Fix the error in the statement about browser caching.
Browser caching helps by storing [1] locally so they don't need to be downloaded again.
Browser caching stores resources like images, scripts, and stylesheets locally to speed up page loading on repeat visits.
Fill both blanks to complete the sentence about reducing page load time.
To reduce page load time, you can [1] the size of images and [2] the number of HTTP requests.
Compressing images reduces their file size, and reducing HTTP requests lowers the number of times the browser asks the server for files, both speeding up page load.
Fill both blanks to complete the code snippet that delays loading of non-critical scripts.
<script src="app.js" [1] [2]></script>
The defer attribute ensures the script runs after the HTML is parsed without blocking it, and async loads the script asynchronously, improving page speed.