Simple question. A basic horizontal rule, nothing fancy, no color, no size or width, no aligning, which is it... <hr></hr>
or <hr/>
.
I understand which of them work, but which is PROPER.
Simple question. A basic horizontal rule, nothing fancy, no color, no size or width, no aligning, which is it... <hr></hr>
or <hr/>
.
I understand which of them work, but which is PROPER.
<hr>
<hr />
While the above is a (small) argument in favour of HTML5 -- and similar for other self-closing tags such as <img />
-- organizations are likely to have coding standards in place. Also, for one's practice it is useful to pick one style and stick to it. Where HTML5's flexibility is useful is when including third party code that may be available only in one flavour, not both.