0
What is Difference between <br> and <br />
Plzz help
9 odpowiedzi
+ 4
Nothing really, the '/' is optional
+ 3
Nothing really.
Both works same way.
They are self-closing tags which does not require ending tags, so even if you don't selfclose it, it will not cause any problem.
It's just like <img src=""> and <img src="" />
+ 3
There is no difference between them.
+ 2
You may find answer in https://www.tutorialspoint.com/html-dom-hasfocus-method
+ 2
Saqib Bilal So many duplicate questions. Please use search option next time.
https://www.sololearn.com/discuss/2230963/?ref=app
https://www.sololearn.com/discuss/716283/?ref=app
https://www.sololearn.com/discuss/152499/?ref=app
https://www.sololearn.com/discuss/66806/?ref=app
https://www.sololearn.com/discuss/475/?ref=app
https://www.sololearn.com/discuss/685799/?ref=app
https://www.sololearn.com/discuss/40527/?ref=app
+ 1
All are the same . It's just your choice ... They both do the same thing
+ 1
<br/> is the form correct of write, but is optional. 😊
+ 1
I think, there's no difference between them.😅