CSS
Cascading Style Sheet
This Property sets all margins for an element. Up to four values can be defined, in this order: top, right, bottom, and left.the value auto is not currrently supported. A single value defines the same margin for all four sides.
Example
<html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
margin: 40px;
}
.text2
{
margin-right: 50px;
}
.text3
{
margin-bottom: 50px;
}
.text4
{
margin-top: 20px;
}
</style> </head>
<body>
<p class="text1">www.skillpundit.com</p>
<p class="text2">SkillPundit is the best place to gain knowledge which includes skills like programming,designing, problem solving , general information about our country, reasoning,mental ability etc. SkillPundit is world's best platform to show your talent. Which results in helping you build a professional career in this fast moving world.</p>
<p class="text3">www.skillpundit.com</p>
<p class="text4">www.skillpundit.com</p>
</body> </html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
margin: 40px;
}
.text2
{
margin-right: 50px;
}
.text3
{
margin-bottom: 50px;
}
.text4
{
margin-top: 20px;
}
</style> </head>
<body>
<p class="text1">www.skillpundit.com</p>
<p class="text2">SkillPundit is the best place to gain knowledge which includes skills like programming,designing, problem solving , general information about our country, reasoning,mental ability etc. SkillPundit is world's best platform to show your talent. Which results in helping you build a professional career in this fast moving world.</p>
<p class="text3">www.skillpundit.com</p>
<p class="text4">www.skillpundit.com</p>
</body> </html>
Output