Computer Science, asked by Robbieis, 20 days ago

What is the purpose of the height and width attribute of the tag?

Answers

Answered by anuragsharmakv5b
0

Answer:

The height and width attribute in HTML is used to specify the height and width of the element. The values are set in px i.e. pixels. To add an image in an HTML page, <img> tag is used. With that, we need to use the attributes height and width to set the height and width of the image in pixels.

Explanation:

Similar questions