HTML Image Tag

The HTML Image Tag <image> can’t be alone,

Example Source Code

<!DOCTYPE html>
<img src=”name of image.bmp” width=”120px” height=”120px” alt=”This is an image” />



is an attribute that tells the browser where to look for the image. if its the same folder then you can put just the name, but if is a link on the web or the computer then you need to put the hold link, this is not optional


it specify the width of the image, this is optional


it specify the height of the image, this is optional


it just describe the image in words , this is for SEO purpose, also this is just in can the image cannot be display, anyway this is optional

Similar Posts