+ 1
In a html document must all the tag get closed with the end tag
Html code
3 Antworten
+ 2
They are two kinda of tags in html documents...
1. Tags with opening and closing <p> </p>
2. Self-contained tags <br/>
So it will depend on which kinda tags you start with... If you start with self-contained tags like <br/> or simply a convention <br> opening tag, then this don't have closing tags, but others types has closing tags...
+ 1
Yes. But, some tags do not have a closing tag like <img>, <br>, <hr>
It is usually good practice to write these like: <img src="path" />, <br />, <hr />
Where you put a forward slash before the greater than symbol.
This essentially acts like closing the tag that doesn't have it's own closing tag.
0
Wala! Dili! John Fernandez
No point in posting an answer and liking imong own post when there are discrepancies. Ngano man? / Bakit?
iframe does have a closing tag:
https://www.w3schools.com/tags/tag_iframe.asp