I have plain html file as below
<div>
THis is a looooooooong text. and it goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on
<br/><br/>
2nd line
<br/><br/>
3rd line 3rd line 3rd line 3rd line 3rd line 3rd line 3rd line
<br/><br/>
last line
</div>
What I want is increase the spacing between two lines
Right now I see text as below.
But what I want is increase the spacing between two lines by lets say 10px.
Any idea how to do that?
Space need to be brought as shown in below image. (for example i have considered only first line)
To add a vertical line using the shape tool, go to Insert | Shapes and select the Line tool. Place the cursor where you want the line to start, and drag to where you want the other end of the line to be. Holding the Shift key while you drag will ensure that the line is straight.
Use the line-height property in CSS to do so. Browsers by default will create a certain amount of space between lines to ensure that the text is easily readable. For example, for 12-point type, a browser will place about 1 point of vertical space between lines.
Select all of the text in the text box, right-click it, and click Paragraph. Select the line spacing you want.
To create extra spaces before, after, or in-between your text, use the (non-breaking space) extended HTML character. For example, with the phrasing "extra space" using a double space, we have the following code in our HTML.
Use line height to add space between to line :
For example :
div {line-height:25px;}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With