+ 2
Which is more proper: <br /> or <br>?
Even though it works on a webpage, I have seen editors like Bluefish try to append an end tag when I use <br>. Would it be wise to go for <br /> instead?
4 Réponses
+ 6
<br /> was HTML 4 now in HTML 5 you don't need to close br so just use <br>
+ 2
In HTML, the <br> tag has no end tag.
In XHTML, the <br> tag must be properly closed, like this: <br />.
+ 1
Of course <br />
it is standard and you can use it in xhtml too.
it make code easy to read and understand.
0
Thanks everyone. Since I use Bluefish a lot, I'll use <br /> to avoid the problems.