HTML Advanced Quiz 2
q
L
quizLearn
Select your answers and check your results. Use Reset to start again.
Practice Pronunciation (Merriam-Webster)
Search Google
Search
Navigation
HTML Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
HTML Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
HTML Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Beginner Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Intermediate Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Advanced Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Quiz 2
1. Which attribute is used to give hints to the browser about the relative importance of a resource?
loading
fetchpriority
importance
2. What is the effect of <link rel='preload' ...>?
It caches the file for the next visit
It loads the file only when needed
It requests a resource early to speed up page rendering
3. Which attribute allows serving different image resolutions for high-DPI screens?
srcset
media
sizes
4. Which attribute handles CORS settings for media elements?
secure
crossorigin
allow-origin
5. What does the 'integrity' attribute do in a script tag?
It checks the script for syntax errors
It prevents the script from blocking the main thread
It verifies the cryptographic hash of the script file
6. Which attribute enables native lazy loading for images?
lazyload='true'
loading='lazy'
defer='image'
7. What is the purpose of rel='dns-prefetch'?
To resolve domain names before a user clicks a link
To download the entire website in the background
To check for DNS security vulnerabilities
8. How do width and height attributes on <img> help Core Web Vitals?
They compress the image file
They improve SEO rankings
They reserve space to prevent Cumulative Layout Shift (CLS)
9. Which rel value performs a DNS lookup, TCP handshake, and TLS negotiation?
dns-prefetch
preconnect
prefetch
10. Which attribute is required when using rel='preload' to specify the content type?
as
type
kind
Previous
Check Quiz
Reset
Next
Other
Timer
00:00
Start
Stop
Reset
Vocabulary Quiz
Score: 0
Reset Score
Submit Answer
Next Word
Spin the Wheel
SPIN
Promo's
Explore More
External Link