HTML Image

We need <img> tag to insert image in HTML. <img> tag contains only attributes with no closing tag.

Code Structure:
<img src="image.jpg" alt="" width="150px" height="150px" />
where,
src = full location of image
alt = Alternate Description for Image
width = width of image
height = height of image

Share this

Related Posts