containers tags are both opened and closed but empty tags are only opened. give reason
Answers
Answered by
2
Answere :
containers tags are both opened and closed but empty tags are only opened. give reason
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