+ 1

Why does a closing tag have bag slash in the beginning at times, and at time at the end?

Usage of Back Slash in closing tag

23rd Jun 2019, 7:48 AM
Surbhi Goel
2 Réponses
+ 3
It's not a backslash, it's just a normal slash (/). Sometimes, you don't need to put anything inside the element, therefore you don't need a closing tag; so the / will be at the end of the tag
23rd Jun 2019, 7:54 AM
Airree
Airree - avatar