Multiple choice html

What are the genral syntax for inline image?

  1. src=img

  2. src=image

  3. img=file

  4. img src=file

  5. image src=file

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The correct HTML inline image syntax is where 'img' is the tag name and 'src' is the attribute specifying the image file. Options A and B have the attribute and tag name reversed. Option C uses 'file' as the tag name, which is incorrect. Option E uses 'image' instead of the correct 'img' tag.