Friday, February 26, 2016

Third step

Today we are going to learn how to use a div tag.At first search body tag in the notpad codding and write div tag inside the body tag.Like" <div style ="width:100%;height:50;background color:yellow;float:left"></div>"then save it and open it by a browser then you will see a yellow color page in the browser.Now write something big inside it.Inside div tag write h1 codding and inside h1 tag write name and save it and open it by browser.If you use more than one div tag then you will get more part of a page.Actually it is used for making a complete web page with design.If you want to learn more then go the next step or four step.

No comments:

Post a Comment