0

What is empty tags?

Those tag have not closing tag called empty tag.

15th Nov 2017, 3:28 AM
Akash
7 Answers
+ 8
@Caleb The "/" at the end is optional just if you don't know.
15th Nov 2017, 3:38 AM
qwerty
qwerty - avatar
+ 6
Yeah. They're also called void tags/self-closing tags.
15th Nov 2017, 3:32 AM
qwerty
qwerty - avatar
+ 4
Empty tags don't have separate closing like </htlm> For example <br /> <img src=filename /> you may close it on using "/" symbol in the end of same line
16th Nov 2017, 12:17 AM
Thirumurugan C
Thirumurugan C - avatar
+ 2
An empty tag looks kinda of like this <text />
15th Nov 2017, 3:33 AM
Caleb Royer
Caleb Royer - avatar
+ 2
I didn't know that. Thanks!
15th Nov 2017, 3:45 AM
Caleb Royer
Caleb Royer - avatar
+ 2
they are self closing tags
15th Nov 2017, 4:33 AM
᠌᠌Code X
᠌᠌Code X - avatar