+ 4
<br> or <br/>?
what is the difference between these 2 tags?
3 Respuestas
+ 22
Simply <br> is sufficient.
The other forms are there for compatibility with XHTML; to make it possible to write the same code as XHTML, and have it also work as HTML. Some systems that generate HTML may be based on XML generators, and thus do not have the ability to output just a bare <br> tag; if you're using such a system, it's fine to use <br/>, it's just not necessary if you don't need to do it.
[https://stackoverflow.com/questions/1946426/html-5-is-it-br-br-or-br]
+ 2
con <br> esta bien!