How to move to next line in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to move to next line in html

html processing

3rd Jun 2018, 4:31 AM
Pathan Hannan
Pathan Hannan - avatar
5 Answers
+ 5
<br /> Tag is used for adding a new line to the html webpage.(/) is optional but I recommend that you should use it.
3rd Jun 2018, 5:01 AM
Akash Pal
Akash Pal - avatar
+ 4
That's why I recommend it.
3rd Jun 2018, 8:54 AM
Akash Pal
Akash Pal - avatar
+ 2
Using <br> tag
3rd Jun 2018, 4:32 AM
Sachin Artani
Sachin Artani - avatar
+ 2
According to Google's style guide you shouldn't https://google.github.io/styleguide/htmlcssguide.html#Document_Type But it might be useful to keep it in case you ever migrate to an XHTML project, where the / is mandatory
3rd Jun 2018, 7:37 AM
Dan Walker
Dan Walker - avatar
+ 1
Akash Pal Why do you recomend putting '/' at the end?
3rd Jun 2018, 5:45 AM
Bebida Roja
Bebida Roja - avatar