Which of the following is not the attribute of img tag a) src b) align c) bgcolor d) alt
Answers
Answered by
1
Answer:
.alt 100% trust me .alt is the answer friend
Answered by
1
c) bgcolor is not the attribute of img tag.
Explanation for the answer:
- The <img> tag has mainly two attributes:
- src - It specifies the path to the image.
- alt - It specifies an alternate text for the image, if the image for some reason is not visible.
- <img> tag also has the attribute - align, it is used to align the image.
- Hence, among all the options the c) bgcolor is not an attribute of the img tag.
bgcolor attribute:
- The bgcolor attribute is not an attribute of img tag.
- It is used to set the background color of an HTML element.
(#SPJ3)
Similar questions