Computer Science, asked by vinayakkaushal9909, 1 month ago

Answer the following:
1.
How are images added in an HTML document? What are the different attributes of an image element​

Answers

Answered by yashiraghuwanshi01
1

Answer:

Each image must carry at least two attributes: the src attribute, and an alt attribute. The src attribute tells the browser where to find the image. Its value is the URL of the image file. Whereas, the alt attribute provides an alternative text for the image, if it is unavailable or cannot be displayed for some reason.

hope it helps

Answered by nikhithgandhivalaval
0

Answer:

mark me as brainlist and thank me

Explanation:

Each image must carry at least two attributes: the src attribute, and an alt attribute.

The src attribute tells the browser where to find the image. Its value is the URL of the image file.

Whereas, the alt attribute provides an alternative text for the image, if it is unavailable or cannot be displayed for some reason. Its value should be a meaningful substitute for the image.

Similar questions