Sarthaks APP
0 votes
in Web Technology by (31.7k points)
closed by

Differentiate empty tags and container tag with example.

1 Answer

+1 vote
by (31.9k points)
selected by
Best answer

1. Empty tags: It has opening tag only, no closing tag

Eg: <hr>, <br> etc.

2. Container tag: It as both opening and closing tag.

Eg: <html> </html>


Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.