Difference between container and empty tag in tabular format in HTML

0 votes
7 views

Please log in or register to answer this question.

1 Answer

0 votes
answered Nov 27, 2017 by Anjali Lekhak Mature (319 points)
The difference between a container tag and an empty tag is quite simple. a conatiner tag is the one which has to be closed and an empty tag doesnt need to be closed.

for example:

CONTAINER TAG

<html> is the opening tag
</html> is the closing tag

<a href=""> is the opening tag
</a> is the closing tag

(closing is required)



EMPTY TAG

<img src="">

<br>

(no closing required)

Related questions

0 votes
0 answers
+1 vote
0 answers
asked Jun 22, 2018 in Class IX Computer by Maulik Basic (45 points)
...