for what purpose height and width attribute are used for table and image . explain with example
please give answer fst
Answers
Answered by
4
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.
Similar questions