Computer Science, asked by pv3383645, 3 months ago

how are images added in an HTML document? What are the different attributes of an image element?​

Answers

Answered by Anonymous
9

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.

Answered by Anonymous
6

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

Have a nice day mate ❤️

Similar questions