+ 2
What is this tag?
I have seen some tags are written like <tag/> in HTML. What is this, and how to use them?
3 ответов
+ 4
There are no such tags as of my knowlede written in the format above Çůřîöş ßąšäñț 🇮🇳
Start tag = <tagName>
End tag = </tagName>
However for tags such as input they end in a slash:
<input type="text" name="example" />
https://www.w3.org/community/webed/wiki/HTML/Training/Tag_syntax
+ 3
I have never seen a tag written like that in my knowledge of HTML coding.
Could it be this by any chance: </tag>
If not, please let me know.
+ 1
They are so called empty elements
https://developer.mozilla.org/en-US/docs/Glossary/Empty_element