8. Define <IMG> tag or <HR> tag.
Answers
Answered by
2
Answer:
The <hr> tag defines a thematic break in an HTML page (e.g. a shift of topic). The <hr> element is most often displayed as a horizontal rule that is used to separate content (or define a change) in an HTML page.
The <img> tag is used to embed an image in an HTML page.
Images are not technically inserted into a web page; images are linked to web pages. 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
Similar questions
Math,
3 months ago
India Languages,
3 months ago
Math,
3 months ago
English,
8 months ago
English,
1 year ago