Can anyone explain about <img> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone explain about <img> tag

<img> tag for images

17th Feb 2019, 7:18 AM
Kingsman
5 Answers
+ 3
Img stands for image You have to add src after it (src stands for source) and then give the link for the image
17th Feb 2019, 7:23 AM
Aditya Kannojia
Aditya Kannojia - avatar
+ 3
<img src="https://someimage.png"height=180px width=200px> Put the link in "the inverted commas" and the height and width after it img tag doesn't require a closing tag
17th Feb 2019, 7:26 AM
Aditya Kannojia
Aditya Kannojia - avatar
17th Feb 2019, 8:13 AM
Aditya Kannojia
Aditya Kannojia - avatar
+ 1
thanks
17th Feb 2019, 7:27 AM
Kingsman
17th Feb 2019, 8:13 AM
Aditya Kannojia
Aditya Kannojia - avatar