HTML Images

In HTML Images allows you to insert an image in a web page with the help of IMG elements. This element uses several attributes, such as src, id , lang, dir and alt.



The syntax to insert an HTML Images in a web page is as follows:-


<img src=" name of the image">//if image in the same folder of your files


<img src=" path of the iamge"/>


<img src=" path of the image" width=" " height=" "/>//you can also define the width and height of the image.

Describing HTML Images Maps:-

Image map represents an image, which contains sections that work as hyperlinks. These hyperlinks help you to link multiple web pages to a single image through an image map.

<map name=”name of the map”>

<AREA shape=”name of the shape” coords=”coordinate position ”

href=” name of the target apge” />


Follow Us

Contact Us

Back to Top