logo

Cambridge IGCSE Information and Communication Technology practice

What attribute is used to specify the URL of an image in the <img> tag?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

cambridge_mcq

Style

Topic

Create a web page continued

Exam-style question

Try this first

What attribute is used to specify the URL of an image in the <img> tag?.

  1. A.src
  2. B.href
  3. C.alt
  4. 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.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions