Which one is use for html5 <br> or <br />?
shiwangee pathak, Both are possible but the /> is correctly formatted in HTML5. Correct formatted break-line tag. <br /> An html tag without closing tag you close with: /> E.g. <img src="" /> <input type="" /> <hr /> <br />
both can be used, the' /' is not a must for inline elements. so both are actually the same.
You can use the two
<br /> will line break a line(a new line) to your HTML document
both. <br/> is the xml way to write it but works the same as <br>
<br/> is used in html5