Computer Science, asked by shikhar2446, 1 year ago

what is the difference between container tag and empty tag?

Answers

Answered by saruma
16
in container tag is closed and in empty tag does not have close tags
Answered by Rememberful
37

\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