- Images are defined with the <img> tag in HTML.
- <img> tag contains only attributes.
- <img> tag does not have closing tag.
- alt attribute displays an alternate text for an image
- If an image is not display, then alt attribute will display the value.
Width & Height
- For specifying the width and height of an image we use the style attribute.
Images in Another Folder:
- It is common to store images in a one folder.
- You must then include the folder name in the src attribute.