Chapter 010mChallenge

HTML Introduction — Challenge

HTML എന്താണെന്നും, HTML Elements എങ്ങനെ പ്രവർത്തിക്കുന്നുവെന്നും, ലളിതമായ ഉദാഹരണങ്ങളും പരിശീലനങ്ങളും ഉപയോഗിച്ച് നിങ്ങളുടെ ആദ്യ HTML Document എങ്ങനെ സൃഷ്ടിക്കാമെന്നും പഠിക്കാം.

This content is not yet available in ml. Showing English version.

View in English →

Add an image to a web page

easy

Write an HTML <img> element with src set to "photo.jpg" and alt set to "A beautiful landscape".

Test cases (1)
1 · image_attributes
expected: <img src="photo.jpg" alt="A beautiful landscape">
Hint
The <img> element embeds an image. The src attribute specifies the image path, and the alt attribute provides alternative text describing the image.
html
Loading editor...