State the difference between container and empty tags?
Answers
Answered by
2
Answer:
- The container tag always wraps around text or graphics and comes in a set with an opening and closing tags. On other hand, the empty tag stands alone i.e. there is only opening tag and no closing tag.
Answered by
1
Container tag consists of opening tag+content+closing tag. While empty tag is tag without content or a closing tag. Container tags are used to enclose texts, images etc. Like you can insert a line-break or an image anywhere in your page but it should be inside some container tag.
Similar questions