In HTML,
Is tag container tag or empty tag
Answers
Answered by
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