4
QuizMultiple Choice

Unit Test — Unit test

Question 4 • Introduction to Information Technology - EL3701 A

An anchor tag can be coded using which two attributes?

Answer
A
href and name
B
src and id
C
href and src
D
name and src

Explanation

An HTML anchor tag uses href to link to a destination, and name can identify a location within a page. Therefore, “href and name” is the correct choice; src is used for resources such as images, not for anchor links.

AI-written and checked against the verified answer.

Previous
Next