Computer Science, asked by aklima713385, 2 months ago


5.Use src, height, width, border, align and alt attributes with <IMG> tag. Write an HTML coding using all
this attributes.

please guys l don't know this html please guys write the coding using those attributes l will be really grateful to you​

Answers

Answered by AbhinavRocks10
6

The <img> tag is used to embed an image in an HTML page.

Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image.

The <img> tag has two required attributes:

src - Specifies the path to the image

alt - Specifies an alternate text for the image, if the image for some reason cannot be displayed

Note: Also, always specify the width and height of an image. If width and height are not specified, the page might flicker while the image loads.

Tip: To link an image to another document, simply nest the <img> tag inside an <a> tag (see example below).

Attribute Value Description

alt text Specifies an alternate text for an image

Similar questions