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


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


2 Answers

New Answer


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.


Use the <pre> </pre> Tag