Computer Science, asked by evanshi2004, 30 days ago

which of the following statements about <IMG> tag is true?
I. <img>tag has 6 attributes
2.<img>tag has 8attributes

Answers

Answered by Anonymous
12

The <img> tag creates a holding space for the referenced image. The <img> tag has two required attributes: src - Specifies the path to the image. alt - Specifies an alternate text for the image, if the image for some reason cannot be displayed.

Answered by adventureisland
0

Option (1) is correct.

1. <img> tag has 6 attributes.

About <img> tag attributes :

  • Src => This provides the image's URL.
  • Alt =>  It defines a text alternative for a picture.
  • Align => Align In HTML, the align Attribute is used to determine the alignment of The Element's text content.
  • Hight =>   The height property determines the <input> element's height.
  • width=>   The width property determines how wide the <input> element is.
  • Borders =>  The border-style attribute determines the type of border that will be shown.
Similar questions