New course! Every coder should learn Generative AI!
Try a free lesson0
html empty tags
why there is a"/"in empty tags such as <br/> ??? Is there any difference between <br> and <br/> ??
2 Answers
+ 5
No, the "/" is optional
- 1
XHTML needs "/" at the end of empty tags, in HTML its optional.