+ 11

I do not have a clear tag <br/> because the code does the same without <br/>. Can someone explain to me?

https://code.sololearn.com/W8I3gThBG7dT/?ref=app

18th Apr 2018, 9:58 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
4 odpowiedzi
+ 10
tnx !
19th Apr 2018, 3:30 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
+ 1
In order to see a new line, it has to be a double <br /><br />, because by default a single br will be ignored. Put two br instead of one, to let the browser understand you do really want to insert a new line, and add a css background-color style to p to see the area they occupy. p { background-color: #CCC; }
18th Apr 2018, 10:15 PM
Luigi
Luigi - avatar
0
No problem!
19th Apr 2018, 3:36 PM
Luigi
Luigi - avatar
0
it defines a single line brake
24th Apr 2018, 4:27 AM
Dhruv B Nair
Dhruv B Nair - avatar