What does the 'src' attribute define in an HTML img tag? MCQ with Answer and Explanation

What does the 'src' attribute define in an HTML img tag?
A. The source URL of the image
B. The image height
C. The alternative text
D. The image width
Answer: Option A
Solution (By JKSSB Mock Tests)
The 'src' (source) attribute specifies the URL of the image file to be displayed.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
What is the function of the 'Default Gateway' setting in a computer's local network configuration panel?
A. To clear out temporary cookie tracker entries automatically
B. To serve as a high-speed email storage facility
C. To act as the routing address that local data packets use to exit the local area network and access external networks like the internet
D. To convert graphical web pages into text files

Correct Answer: Option C


Explanation:
The default gateway is the node or router on a computer network that serves as an access point to another network when an IP address does not match any local routes.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the primary function of an ISP in computer networks?
A. To translate source domain codes
B. To provide internet connectivity to end users
C. To store corporate user database systems
D. To manage local browser history caches

Correct Answer: Option B


Explanation:
An ISP (Internet Service Provider) is a commercial or institutional company that provides infrastructure and services to access and use the internet.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a method of authentication that uses a token for API access?
A. OAuth
B. Digest Auth
C. NTLM
D. Basic Auth

Correct Answer: Option A


Explanation:
OAuth (Open Authorization) is an open standard for token-based authentication, commonly used for APIs to allow third-party services access without exposing passwords.

This question belongs to: Computer Internet and Web Technologies