CSS Margin Attributes #Part 6
Margin-top
Percentage, length or auto.
Margin-buttom
Percentage, length or auto.
Margin-left
Percentage, length or auto.
Margin-right
Percentage, length or auto.
Margin
Percentage, length or auto.
HTML Code
<h3>Code Pocket</h3>
<p>Code Pocket is a website that you can learn HTML, CSS, Javascript and Bootstrap. Code Pocket is a website that you can learn HTML, CSS, Javascript and Bootstrap.</p>
CSS Code
<style>
p
{
margin-top:20;
margin-left:20;
margin-right:20;
}
h3
{
margin-left:20;
}
</style>
Try it Yourself...
what you think about this article ??