Medium-EasyUnderstandHTML & CSSmultiple_choice
What does the alt attribute on an image do when left empty (alt='')?
Understand — Tests comprehension and ability to explain concepts.
Answer Options
AShows the image filename to screen readers
BCauses a validation error
CTells screen readers to skip the image (decorative)
DShows a broken image icon
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 15+ more HTML & CSS questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the HTML & CSS topic (Frontend).
More HTML & CSS Questions
Which HTML element should you use for the primary navigation of a website?
EasyWhat is the total width of an element with: width: 200px, padding: 20px, border: 5px, box-sizing: content-box?
Medium-EasyWhich property controls how flex items are distributed along the MAIN axis?
EasyWhich CSS selector has the HIGHEST specificity?
Medium-EasyWhat is the purpose of aria-live='polite' on an element?
Medium-Easy