Adding image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Adding image

how can i add image in html page in sololern

11th Feb 2017, 5:17 PM
Vishnu RK
Vishnu RK - avatar
2 Answers
+ 4
The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).
11th Feb 2017, 5:26 PM
Samuel Šúr
Samuel Šúr - avatar
+ 3
<img src="image.jpg" alt="" />
11th Feb 2017, 5:19 PM
Samuel Šúr
Samuel Šúr - avatar