Home » » HTML Blank Space and line break

HTML Blank Space and line break

Many times we have to use blank space in our html code to place objects or text in proper location. This is very simple in html. We will use in our menu system to achieve desire location.

Link1|Link2|Link3|link4


Now let us add one blank space   before and after each | to give some blank space.

Link1 | Link2  |  Link3 | link4


To add one more blank space we have to use   before and after the |  to place one more blank space.

Link1 |  Link2   |   Link3  |  link4

Here is the code of the above line

Link1 |  Link2   |   Link3  |  link4

See the use of     to get blank space.

By using padding

This line starts after some blank space at left, here is the code.

<span style="padding-left:20px">This line starts after some blank space at left</span>

To get a blank line break we can use <br> tag in html. 
Share this article :

0 comments:

Post a Comment

 
Support : Creating Website | Johny Template | Maskolis | Johny Portal | Johny Magazine | Johny News | Johny Demosite
Copyright © 2011. Information and Wallpapers - All Rights Reserved
Template Modify by Creating Website Inspired Wordpress Hack
Proudly powered by Blogger