what is the mandatory to <img> tag??answer in one word
Share
what is the mandatory to <img> tag??answer in one word
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
There are two required attributes for an <img> element: src which is used to show the image source, and alt which defines an alternate text for the image. To make HTML images clickable, you should place the <img> tag inside the <a> tag, which is used for inserting an HTML image link.