Computer Science, asked by tyfxx, 1 year ago

what is the difference between empty and container tag?

Answers

Answered by 3434343434
3
Container elements are those elements which have starting tag as well as ending tag but empty elements are those elements which have starting tag but no ending tag

tyfxx: thnx
tyfxx: how to write a html program?
Answered by Rememberful
7

\textbf{Empty Tag }:

These are the tags which have no content inside them.

These tags have only starting tag but no end tags.

For example, <br> tag etc.

\textbf{Container Tag  }:

These tags have content inside them.

They have opening as well as closing tags.

For example, <html> tag, etc.

Similar questions