Computer Science, asked by leo139, 1 year ago

Differentiate between container and empty tag

Answers

Answered by PrahStar
7
A container tag begins at a place and has to end at another. This implements the function of the tag within the given matter.

Empty Tags can be inserted and they do not end. By entering the tag the program automatically generates the result. These commands or tags need to be specified only once.

HTML Tag Examples:

Container tag:{body}{\body}

Empty Tags:{br}

Note: My keyboard doesn't have the original diagonal tags
Answered by Rememberful
13

\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