Identify the errors and write the corrected HTML statements: $<$Body Background Color = Red$>$
Answer
Here, the HTML statement is intended to give a background color to a web page. The attribute of $<$BODY$>$tag used to give background color is BGCOLOR. The corrected HTML statement is:$<$BODY BGCOLOR = "Red"$>$
Differentiate between container and empty elements used in HTML###Distinguish between container and empty tags###Sriram software solution has used different tags in its website some are empty while majority are container. Give the detailed difference between container and empty elements.
Answer
HTML container tags require an opening as well as a closing tag. Example: $<$HTML$>$, $<$HEAD$>$, $<$BODY$>$, HTML empty tags require an opening tag and not a closing tag. Example : $<$IMG$>$, $<$BR$>$,$<$HR$>$.