Chapter 010mChallenge
HTML Introduction — Challenge
HTML යනු කුමක්ද, HTML Elements ක්රියා කරන්නේ කෙසේද සහ සරල උදාහරණ හා පුහුණු අභ්යාස භාවිතයෙන් ඔබේ පළමු HTML Document එක සාදා ගන්නේ කෙසේද යන්න ඉගෙන ගන්න.
This content is not yet available in si. Showing English version.
View in English →Add an image to a web page
easyWrite 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...