Hello friends
i want to know Do all HTML tags come in pair?
Printable View
Hello friends
i want to know Do all HTML tags come in pair?
All tag come in pairs except for Void elements, which at the time of this writing include: area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, and wbr.
I think you can say. because most tag follow this platform.
Most of tags are come in pair but some of tags are not required closing tags. These tags are called self closing tags. For example, <hr>, <br>
Yes most of the tags require closing pair.
try to use <i> or <div>
Yes most of the tags comes in pair element, not all. Tags like <br> <p> are not pair, but tags like <tr><td><col><b> etc comes under pair elements.