<br> also works the same as <br/>? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

<br> also works the same as <br/>?

2nd Jul 2020, 9:01 AM
Harsh Kant
Harsh Kant - avatar
3 Respostas
+ 16
Harsh K Yes You can use HTML br tag two ways: <br> or <br/>. It is recommended to use closed br tag <br/> because it is supported in HTML and XHTML both. </br>āœØit means both of break line and new line <br>āœØHTML <br> tag or element is used to break line in a paragraph.
2nd Jul 2020, 9:14 AM
šŸ’•ā‚½Ī”ŘIšŸ’•
šŸ’•ā‚½Ī”ŘIšŸ’• - avatar
+ 1
Yes, both are the same.
2nd Jul 2020, 9:05 AM
Mohamed Salah
Mohamed Salah - avatar
+ 1
Yes they are the same
3rd Jul 2020, 3:25 PM
Youssef Tamer
Youssef Tamer - avatar