<img src="img_girl.jpg" alt="Girl in a jacket" />
The HTML <img> tag is used to embed an image in a web page.
The <img> tag creates a holding space for the referenced image.
<img> tag is empty, it contains attributes only, and does not have a closing tag.<img> tag has two required attributes:The <color> CSS data type represents a color. A <color> may also include an alpha-channel transparency value, indicating how the color should composite with its background.
The properties that allow you to control
the appearance of text can be split into
two groups:
Use JPEG format for all images that contain a natural scene or photograph where variation in colour and intensity is smooth. Use PNG format for any image that needs transparency or for images with text & objects with sharp contrast edges like logos. Use GIF format for images that contain animations.