Can anyone tell me how to insert image address in HTML ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Can anyone tell me how to insert image address in HTML ?

11th Jun 2020, 11:20 AM
Prakhraaditya
3 Answers
+ 1
the syntax is <img src="_" alt="_ "> fill in the gaps with the images address and the alt text respectively e.g <img src="myself. jpg alt="myPic">
11th Jun 2020, 11:31 AM
Okereke
Okereke - avatar
+ 1
<img src="tree.jpg" alt="tree" target="_blank"> That’s the processes you can insert img in Html.
11th Jun 2020, 11:53 AM
Ajoy Chowdhury
Ajoy Chowdhury - avatar
+ 1
Ajoy Chowdhury there is no "target" attribute for images. target="_blank" is used in <a> tags.
11th Jun 2020, 1:08 PM
Okereke
Okereke - avatar