Allows adding an image to a web page. It is self-closing. The attributes of an <img>
tag include src
, which specifies where to get the image from (the url for an image ), and width
and height
attributes, which specify the size of the image in pixels.