Chapter 310mChallenge

HTML Elements in Kannada — Challenge

ಕನ್ನಡದಲ್ಲಿ HTML Elements ಕಲಿಯಿರಿ. Start Tag, End Tag, Nested Elements, Void Elements ಮತ್ತು Correct HTML Structure ಅನ್ನು Examples ಮೂಲಕ ತಿಳಿಯಿರಿ.

Create an image element

easy

Write an HTML <img> element that displays an image from "photo.jpg" and has the alt text "A beautiful flower".

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