Chapter 310mChallenge

HTML Elements in Tamil — Challenge

தமிழில் HTML Elements கற்றுக்கொள்ளுங்கள். Start Tag, End Tag, Nested Elements, Void Elements மற்றும் Correct HTML Structure-ஐ Examples மூலம் புரிந்துகொள்ளுங்கள்.

Create an image element

medium

Write an HTML <img> element that displays an image from "photo.jpg" and uses "My Photo" as its alt text.

Test cases (1)
1 · basic
expected: <img src="photo.jpg" alt="My Photo">
Hint
Use the <img> element to display an image. Set the src attribute to the image file path and the alt attribute to descriptive alternative text. The <img> element does not need a closing tag.
html
Loading editor...