What is the purpose of $<$IMG$>$ tag? Mention it's any two attributes along with their purpose.
Answer
$<$IMG$>$ tag is used to insert images in any webpage. Its two main attributes are as follows: SRC: It specifies the URL of the image. ALT: It specifies an alternate text for an image.
Differentiate between the following: a. $<$INPUT TYPE= "Text"$>$ and $<$TEXTAREA$>$. b. $<$SELECT$>$ and $<$OPTION$>$. c. $<$INPUT TYPE= "Radio"$>$ and $<$INPUT TYPE= "Checkbox"$>$. d. SUBMIT and RESET Buttons.
The following code is written to align the image of the center in the browser's window. However, the desired result is not achieved. Mention the reason. $<$IMG SRC = "house.gif" ALIGN= "Center"$>$