Exam-style question
Try this first
What attribute is used to specify the URL of an image in the <img> tag?.
- A.src
- B.href
- C.alt
- D.link
Answer and explanation
Concise answer
src
Why this is correct
The src attribute in the <img> tag specifies the path to the image file that should be displayed.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
