Computer Science, asked by picapica5289, 1 year ago

What difference between a container elements and empty elements?

Answers

Answered by ShrashtiMittal323
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.
Answered by Rememberful
4

\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