Differentiate between container and empty tag
Answers
Answered by
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
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
13
:
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.
:
These tags have content inside them.
They have opening as well as closing tags.
For example, <html> tag, etc.
Similar questions