Hello everybody, welcome to our website where you will find
everything for free.
This is
twenty-sixth tutorial of CSS which shows you CSS to DIV element of CSS.
Why DIV?
DIV is used
for making a particular sections or you can also say for differentiating
regions.
Let me give
you the example:
<div
id="form">
<input
type="text" /><br/>
<input
type="submit" />
</div>
<br/>
<br/>
<div
id="Address">
<input
type="text" /><br/>
<input
type="submit" value="submit"/>
</div>
Here there
are two id:
1) Form and
2) Address
Hence if we
add some CSS to any of these id or DIV element, only that element will be
having that CSS effects.