Zero Programmer

It All Starts From 0

Spacing in HTML

Hey there,

In this post I’d like to give a very beneficial tip. It helped me made the page looks nicer and more organized. In a HTML and PHP code, spaces are ignored by the computer. The maximum would only be one space. More than one space would not be considered by the computer. Therefore, there are certain syntax that I usually use to space.

1. &nbsp

I use &nbsp to space. It’s like the length of a space.

2. &emsp

This syntax is like the tab button.

3. <br>

This syntax breaks line, so after this syntax is put the next  output would automatically be in the next line.

That’s all for this post, and this thing would be very important if you want to make your project looks nicer. There are other ways, but this one is the simplest I’ve ever used.

Any inquiries, mail me at

I'm Stuck !!
%d bloggers like this: