How to add a image in html?

+3 votes
asked Mar 21 by (230 points)

1 Answer

+3 votes
answered Mar 22 by (520 points)
selected 2 days ago by
Best answer
<img src="location of image with file name and extension of image also" width=100 height=400>
commented Mar 24 by (100 points)
you should usually only use width or only use height otherwise you will have a squashed or stretched picture
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.