DIVISION CONCEPTS :- (IMP)

 DIVISION CONCEPTS :- (IMP)


1.Division is provide a concept for creating Cell in computer screen.

2.division is basically used to create a web page in proper format.

3.division is used <div> </div>.


there are following attributes used in <div> </div>

1.background - color 

2.height

3.width

4.top

5.left

6.position


POSITION ATTRIBUTES:-

 position attribute is provide flexibility of <div>.

= by default all div is used to fixed position.

=if user can required flexible div than using position attributes with the value of "absolute".


<div id="box1" style="background-color:yellow; height:100px; width:100px; top:1px; left:1px;"> welcome </div>


<div id="box2" style="background-color:red; height:100px; width:100px; top:500px; left:1px; position:absolute;"> Nagpur </div> 

 

<div id="box3" style="background-color:blue; height:100px; width:100px; top:1px; left:1100px; position:absolute;"> MUMBAI </div>


Comments

Popular posts from this blog

HTML FORMS

condition management IF, ELSE, ELSEIF

HTML NOTES