0

Do all HTML tags come in pair?

9th Dec 2017, 6:05 PM
Kanchan Maji
Kanchan Maji - avatar
7 odpowiedzi
+ 13
No, there are single HTML tags that does not need a closing tag. Examples are the < img> tag and < br> tags. "No,all tags are not come in pairs. Few are no need to do same.
9th Dec 2017, 6:06 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 4
nope some are single like <br/>,<IMG/> e.t.c and some are in triples like....just kidding
9th Dec 2017, 7:15 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 3
Some tags are self-closing (<hr /> and <br /> I think), <li> has optional end tags. A list is easily found with search.
9th Dec 2017, 6:53 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
Here is a good reference that maybe helpful for you. http://htmlreference.io
9th Dec 2017, 7:37 PM
Ranjan Bagri
Ranjan Bagri - avatar
0
Thanks@ Ranjan.
9th Dec 2017, 7:42 PM
Kanchan Maji
Kanchan Maji - avatar
- 1
thanks@GAWEN STEASY
9th Dec 2017, 6:15 PM
Kanchan Maji
Kanchan Maji - avatar
- 1
thanks@ Kirk Schafer and Brains...,👍
9th Dec 2017, 7:18 PM
Kanchan Maji
Kanchan Maji - avatar