The main difference between container tag and the empty tag is that container tags have both opening and closing tag while the empty tags have only opening tags. There is no need of closing tags in empty tags.
Some of the container tags are:
1. <html> is the opening tag
</html> is the closing tag
2. <head> is the opening tag
</head> is the closing tag
Some of the empty tags are:
1. <br> tag
2. <img> tag
|