Breaking News
Loading...

Insert Space in html

Share on Google Plus

Insert Space in html


Entity
When to Use
 
When you want to add a single space
<p></p>
When you want to add a paragraph break
<br>
When you want to add a line break
<pre></pre>
When you want to display text as-written
<p style="text-indent: 5em;"></p>
When you want to insert a tab (this is technically CSS code, as there’s no easy way to do tabs in HTML)


 Insert the HTML entity &nbsp; wherever you would like to add a single space ("nbsp" stands for non breaking space).

1
Insert <p> before the text you would like formatted as in paragraph form.


2
Insert <p> at the start of every paragraph.


3
Use </p> to peer inside. 
He noticed the lock had been tampered with and the store was quite messy. <p> John began to grow worried, and decided to call the local police. </p>

4 By adding &nbsp; spacing will increase


5 By giving <br/> tag is equal to Enter

You Might Also Like

0 comments

About me


Like us on Facebook