0

what is empty tag

<p>

28th Oct 2024, 12:39 PM
Jeramy Odinachi
Jeramy Odinachi - avatar
4 Respostas
+ 6
Empty tags are self-closing tags, they do not require to have a closing tag. Example:-<img>, <br>, <hr>
28th Oct 2024, 12:50 PM
Gulshan Mahawar
Gulshan Mahawar - avatar
+ 2
Empty tag did not need to be closed like <img> and <br> or </br> (both are right but it’s better to use the second one)
28th Oct 2024, 6:08 PM
Yassmine Riabi
+ 1
Empty tag only needs opening tag and it doesn't need to close for example <img> , <br> and...
29th Oct 2024, 5:09 PM
Arash Amorzesh
Arash Amorzesh - avatar