+ 4
How to change the space between different lines in a paragraph
for example - <p>This is an example of my question please answer if you know<p> .... how to change the distance between the first line and the second line (I am not talking about word or letter spacing,the spacing between lines of of a paragraph )
6 odpowiedzi
+ 3
use css line-height for example
line-height:50px; in div or body
+ 7
What Ken said, or use as many <br/> tags as you want lines between.
+ 6
You can use <br/> for a line break in the same paragraph. No space will be put between lines.
Ex:
<p>Here's my question.<br/>Can you answer it?</p>
Result:
Here's my question.
Can you answer it?
Or, put the second line in another paragraph. It adds an extra space between paragraphs.
Ex:
<p>Here's my question.</p>
<p>Can you answer it?</p>
Result:
Here's my question.
Can you answer it?
+ 4
@Ahmed AI/malaji Thanks your answer worked
+ 3
@tamra I'm not talking about line break ,after line break the distance between the two lines
( here's my question
<......this part...........>
Can you answer it )
+ 2
Change line height, border, or margin.