The div tag.

The div tag stand for divison and is used as <div> xyz </div>

Now look at the facebook page,, If you see the top blue part, and the rest of the body, these are two separate divisions. 

<div id = one>

On your CSS page, you type in the following code



And customize the divison to your liking. 

You can also put a div inside a div.

<div id= one>
<div id= two>

The ID attribute serves for the name of the division. You can call your division anything you like.

I will post a sample program soon! Until then, keep practising! 🙂 

Categories: Uncategorized | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: