The img element allows us to embed images in HTML documents.
To embed an image, you need to use the src and alt attributes, the code is as follows:
<img src=../img/example/img-map.jpg alt=Products Image width=580 height=266 />Display effect: 1 Embed the image in the hyperlink
A common usage of the img element is to create an image-based hyperlink in combination with the a element, the code is as follows:
XML/HTML Code Copy content to clipboard