Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Line breaks are not working

My page has <p></p> but it still does not have breaks. Any clue? links is here

like image 213
makalele Avatar asked Oct 23 '25 18:10

makalele


2 Answers

<p> is a paragraph not a line-break. The line break tag is <br>

like image 131
Nir Alfasi Avatar answered Oct 25 '25 08:10

Nir Alfasi


In the event you were talking about line breaks that element you want is <br /> and yes the space is required, this is the best way to get a webbrowser to behave when using line breaks, because it complies to XML as well (self-contained tag).

If you mean you wanted more space around your paragraph use CSS to change the style for the 'p' element.

like image 21
awiebe Avatar answered Oct 25 '25 09:10

awiebe