To insert images on HTML pages, the <img> tag is required with the "src" attribute.

<img src=”earth.png” >

Using the width and height attributes, you can specify the size of the image in pixels or percentages.

<img src=”earth.png” width="150px" height ="125px" >

Using ALT tag you can add a short description of the image in case the user does not see the picture because it did not show up on the display e.g.

<img src=”earth.png” width="150px" height ="125px" alt="planet earth">

planet earth






Privacy Policy