+ 3

Is there a space between <br and /> is it <br/> or <br />.

18th Jul 2017, 7:01 AM
TJ MCODE
TJ MCODE - avatar
2 odpowiedzi
+ 9
it is <br> for html no need to close the br statement in xHTML you need to close the br statement with <br /> https://www.w3schools.com/tags/tag_br.asp
18th Jul 2017, 7:05 AM
jay
jay - avatar
+ 5
all of them work accurately you need to close the tag if you want to parse the document by an XML parser or you are writing in xhtml etc
18th Jul 2017, 7:53 AM
Lord Krishna
Lord Krishna - avatar