What is the purpose of the 'Alt' attribute in an image tag for accessibility? MCQ with Answer and Explanation

What is the purpose of the 'Alt' attribute in an image tag for accessibility?
A. To define image dimensions
B. To provide a textual description for screen readers
C. To display a tooltip
D. To style the image
Answer: Option B
Solution (By JKSSB Mock Tests)
Alt text is essential for accessibility, providing a description of the image for users who cannot see it.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What does an 'Asymmetric Encryption' implementation use to secure web communications over HTTPS links?
A. A mathematically linked key pair consisting of a Public Key and a Private Key
B. A localized cookie token combined with basic user credentials
C. A series of mechanical network router configuration keys
D. A single shared secret password key for both operations

Correct Answer: Option A


Explanation:
Asymmetric cryptography utilizes a public key (available to everyone for data encryption) and a private key (kept secret by the server for data decryption).

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is an example of a static web page?
A. A page that updates automatically
B. A page that shows user-specific data
C. A page that displays the same content every time
D. A page with a login form

Correct Answer: Option C


Explanation:
A static web page is delivered exactly as stored and does not change based on user interaction or server-side processing.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which specific protocol is built over internet stacks to manage the automated transmission of real-time text alert states inside Internet of Things (IoT) hardware over limited bandwidth links?
A. FTP heavy file transmission channels
B. POP3 email archive protocols
C. Standard HTTP/1.1 large payload rules
D. MQTT (Message Queuing Telemetry Transport)

Correct Answer: Option D


Explanation:
MQTT is a lightweight publish-subscribe network protocol designed to transmit messages between constrained IoT devices over low-bandwidth or unreliable networks.

This question belongs to: Computer Internet and Web Technologies