Give Tab Space Instead Of Multiple Non Breaking Spaces With nbsp
Here we consider how to give Tab Space Instead Of Multiple Non Breaking Spaces.
Lets start with one example here.
We can provide HTML space by using nbsp.
Suppose we have two imgaes which are separated by nbsp as shown below.
The style given for these images are here.
On runtime, it would look like this.
But instead of nbsp, we can give HTML space by using CSS only.
All we needs to use magin or padding of element for providing space.
In the above example, instead of nbsp, we can use margin of images as follows.
The result will be like this.