Computer Science, asked by infinitydopelegend, 4 months ago

In HTML,
Is tag container tag or empty tag

Answers

Answered by adityaanurag9
1

Answer:

Container tags are used to enclose texts, images etc. Like <body> , <div> etc are container tags as we put some content inside them.

But empty tags are used to insert something. Like if we want to insert an image or a line-break or a horizontal-line , we use <img />, <br />, <hr /> tags respectively.

Explanation:

Container tags are used to enclose texts, images etc. Like <body> , <div> etc are container tags as we put some content inside them.

But empty tags are used to insert something. Like if we want to insert an image or a line-break or a horizontal-line , we use <img />, <br />, <hr /> tags respectively.

Similar questions