Media & Graphics interview questions

21 real Media & Graphics questions from the HTML bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is img element?

Junior
  1. A.the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  2. B.the void tag that embeds an image, requiring a src and a descriptive alt attribute
  3. C.the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
  4. D.the text alternative on an image that screen readers announce and that displays if the image fails to load
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.img element — the inline vector graphics container that scales without losing sharpness and is styleable with CSS
  2. B.img element — the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  3. C.img element — the wrapper that holds multiple source options so the browser can pick a format or art-directed crop
  4. D.img element — the void tag that embeds an image, requiring a src and a descriptive alt attribute
Reveal the answer + AI explanation — free account

4. What is alt attribute?

Junior
  1. A.the inline vector graphics container that scales without losing sharpness and is styleable with CSS
  2. B.the text alternative on an image that screen readers announce and that displays if the image fails to load
  3. C.the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  4. D.the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.alt attribute — the attribute value that defers downloading an offscreen image until it is about to scroll into view
  2. B.alt attribute — the text alternative on an image that screen readers announce and that displays if the image fails to load
  3. C.alt attribute — the void tag that embeds an image, requiring a src and a descriptive alt attribute
  4. D.alt attribute — the inline vector graphics container that scales without losing sharpness and is styleable with CSS
Reveal the answer + AI explanation — free account

7. What is srcset attribute?

Mid
  1. A.the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  2. B.the void tag that embeds an image, requiring a src and a descriptive alt attribute
  3. C.the wrapper that holds multiple source options so the browser can pick a format or art-directed crop
  4. D.the text alternative on an image that screen readers announce and that displays if the image fails to load
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.srcset attribute — the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  2. B.srcset attribute — the void tag that embeds an image, requiring a src and a descriptive alt attribute
  3. C.srcset attribute — the attribute value that defers downloading an offscreen image until it is about to scroll into view
  4. D.srcset attribute — the wrapper that holds multiple source options so the browser can pick a format or art-directed crop
Reveal the answer + AI explanation — free account

10. What is picture element?

Mid
  1. A.the text alternative on an image that screen readers announce and that displays if the image fails to load
  2. B.the void tag that embeds an image, requiring a src and a descriptive alt attribute
  3. C.the wrapper that holds multiple source options so the browser can pick a format or art-directed crop
  4. D.the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.picture element — the wrapper that holds multiple source options so the browser can pick a format or art-directed crop
  2. B.picture element — the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  3. C.picture element — the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
  4. D.picture element — the text alternative on an image that screen readers announce and that displays if the image fails to load
Reveal the answer + AI explanation — free account

13. What is loading lazy?

Mid
  1. A.the void tag that embeds an image, requiring a src and a descriptive alt attribute
  2. B.the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  3. C.the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
  4. D.the attribute value that defers downloading an offscreen image until it is about to scroll into view
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.loading lazy — the inline vector graphics container that scales without losing sharpness and is styleable with CSS
  2. B.loading lazy — the attribute value that defers downloading an offscreen image until it is about to scroll into view
  3. C.loading lazy — the void tag that embeds an image, requiring a src and a descriptive alt attribute
  4. D.loading lazy — the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
Reveal the answer + AI explanation — free account

16. What is canvas element?

Senior
  1. A.the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
  2. B.the text alternative on an image that screen readers announce and that displays if the image fails to load
  3. C.the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  4. D.the inline vector graphics container that scales without losing sharpness and is styleable with CSS
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Senior
  1. A.canvas element — the wrapper that holds multiple source options so the browser can pick a format or art-directed crop
  2. B.canvas element — the inline vector graphics container that scales without losing sharpness and is styleable with CSS
  3. C.canvas element — the attribute value that defers downloading an offscreen image until it is about to scroll into view
  4. D.canvas element — the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
Reveal the answer + AI explanation — free account

19. What is svg element?

Senior
  1. A.the bitmap drawing surface scripted pixel-by-pixel through a 2D or WebGL context
  2. B.the inline vector graphics container that scales without losing sharpness and is styleable with CSS
  3. C.the attribute value that defers downloading an offscreen image until it is about to scroll into view
  4. D.the text alternative on an image that screen readers announce and that displays if the image fails to load
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Senior
  1. A.svg element — the list of image candidates with width or density descriptors letting the browser choose the best file for the viewport
  2. B.svg element — the text alternative on an image that screen readers announce and that displays if the image fails to load
  3. C.svg element — the wrapper that holds multiple source options so the browser can pick a format or art-directed crop
  4. D.svg element — the inline vector graphics container that scales without losing sharpness and is styleable with CSS
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Media & Graphics free