What difference between a container elements and empty elements?
Answers
Answered by
5
Container elements- These tags include both on and off tags. For example - shows the opening tag and shows the closing tag.
Empty element- These tags only include opening tags. For example -
tag.
Empty element- These tags only include opening tags. For example -
tag.
Answered by
4
:
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