Box model is the basic building block of web dessining. Through box model you can easily understand the concept of padding,margin,border and content of the element in css.
<style>
.box {
background-color: silver;
width: 350px;
border: 20px solid navy;
padding: 20px;
margin: 20px;
}
</style>
<body>
<h2>Box Model</h2>
<div class="box"><b>Through this box you can easily understand the concept of border,padding ,margin and contents of the element</b>
This text is content of this div.........This text is content of this div..........This text is content of this div.........This text is content of this div............This text is content of this div.........This text is content of this div....................This text is content of this div.........This text is content of this div
</div>
</body>