Adding spaces in HTML | Sololearn: Learn to code for FREE!

+1

Adding spaces in HTML

l’d like to add more spaces between my paragraphs, but I’m not entirely sure how. I’d also like to know how to indent the first sentence of my paragraph... ideas?

11/12/2018 5:18:16 PM

Sarah

2 Answers

New Answer

+7

For the spaces use -> &nbsp; For the text indent in <p> -- <style> p{ text-indent:30px; } </style> This will set a text-indent of 30px for the first line.

0

Use the <pre> </pre> Tag