29 December 2016

Sample Code for Inserting HTML Spaces - HTML Help

Sample Code for Inserting HTML Spaces

Now here is the sample code for inserting blank spaces in html documents and web pages. This might be helpful for web developers and students who find how to add blank spaces in html documents. The most popular and the best way to add space is the HTML entity ( ).




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)
Downloaded from http://www.techora.net


Previous Post
Next Post

I'm Aamir Saleem, a professional blogger and SEO Consultant. I loves to write on blogging, SEO, Internet Marketing, Business, Social Media and Make Money Online. Connect Me Via !!!