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 alternative text
C. The image width
D. The image height
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
Which of the following parameters uniquely distinguishes a 'Deep Web' page from a standard surface web page?
A. It can only be accessed using specialized Tor networks.
B. It is encrypted using military-grade security.
C. It requires high-speed fiber optic connectivity to load.
D. It is not indexed by conventional search engine crawlers.

Correct Answer: Option D


Explanation:
The Deep Web encompasses parts of the internet not indexed by traditional search engines, including password-protected portals and private databases.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is a top-level domain used for network infrastructure?
A. .org
B. .net
C. .edu
D. .gov

Correct Answer: Option B


Explanation:
.net is a generic TLD originally intended for network-related entities but now used broadly. .org is for organizations, .gov for government, .edu for education.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following ports is designated by default for secure, encrypted Post Office Protocol version 3 (POP3S) communication?
A. 110
B. 995
C. 993
D. 443

Correct Answer: Option B


Explanation:
Port 995 is the globally recognized default network port assigned for POP3 operations run securely over an encrypted SSL/TLS connection.

This question belongs to: Computer Internet and Web Technologies