Is the forward slash after the element that has only a start tag necessary? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is the forward slash after the element that has only a start tag necessary?

Like <br> and <br/>. What's the difference?

8th Feb 2019, 3:59 PM
Konybud
Konybud - avatar
3 Answers
+ 2
No it's not necessary
8th Feb 2019, 4:14 PM
Kabulput
Kabulput - avatar
+ 2
not necessary
14th Feb 2019, 7:33 AM
Emmanuel Godwin
Emmanuel Godwin - avatar
+ 1
So which one I need to use?
9th Feb 2019, 1:42 AM
Konybud
Konybud - avatar