differentiate between container tag and empty tag
Answers
Answered by
1
A container tag is one which has to be closed and an empty tag does not need to be closed. The container tag always wraps around text or graphics. Empty tags do not have to be wrapped around text and do not require a closing.
Answered by
1
Answer:
Hey!!
———————————————
A container tag is one which has to be closed and an empty tag does not need to be closed. The container tag always wraps around text or graphics. Empty tags do not have to be wrapped around text and do not require a closing.
The paragraph tag is an example of a container tag:
<p>Our paragraph text here.</p>
While <br> is an empty tag that has no closing tag
———————————————-
Hope it helps!!!
#BAL
#answerwithquality
Similar questions