What is the difference between <br>and<br /> or <input> or <input />?? And Which is better to write?? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What is the difference between <br>and<br /> or <input> or <input />?? And Which is better to write??

27th Nov 2020, 1:51 PM
Mohan Shrestha
Mohan Shrestha - avatar
2 Respostas
+ 7
Mohan Shrestha No difference, Visit this link here detailed info about this topic... https://www.tutorialspoint.com/What-is-the-correct-way-of-using-br-br-or-br-in-HTML
27th Nov 2020, 2:22 PM
慤慤慤
+ 1
No difference. Better to use closing tags (<br/>, <input/>) because that support all browsers.. Xhtml require to end tags strictly..
27th Nov 2020, 1:57 PM
Jayakrishna šŸ‡®šŸ‡³