As you know that, multiple spaces normally created by the space-bar on the keyword. Also using the tab key and return keys. But these all are ignored by web browsers when you writing a code. HTML just interprets them all as white-space between words, and displays on a single space. CSS (Cascading Style sheet) allows you to making a more precise white-spaces and indentations. Now here I’ll show you how to easily add blank spaces in html/css documents or web pages.
IMAGE : How to Add Blank Spaces in HTML Documents |
Contents
How to Creating Extra Spaces Before OR After Text
For example, with “This is How to Guide for HTML Space Creation” we have the below code in our HTML.
Insert Spaces in Texts in HTML Elements
(adsbygoogle = window.adsbygoogle || []).push({});
Creating a TAB using CSS and HTML
Almost everyone know about TAB button. A TAB can be easily created in HTML by simply adjusting the margin from left side of an element. Simply check out the below example of CSS and HTML code :
margin-left: 2.5em
}