margin
किसी element का margin border के चारों तरफ space के रूप में define किया जाता है। Padding की ही तरह margin का भी कोई color नहीं होता है यह transparent होता है। Margin Define करने के लिए CSS मे कई Margin Properties Available होती है।
i. margin – इस property के द्वारा सभी sides का margin एक ही बार में define किया जाता है।
ii. margin-top – इस Property के द्वारा Element का Top Margin Set किया जाता हैं।
iii. margin-right – इस Property के द्वारा Element का Right Margin Set किया जाता हैं।
iv. margin-bottom – इस Property के द्वारा Element का Bottom Margin Set किया जाता हैं।
v. margin-left – इस Property के द्वारा Element का Left Margin Set किया जाता हैं।
margin
The margin of an element is defined as the space around the border. Like padding, margin also has no color, it is transparent. There are many Margin Properties available in CSS to define margin.
i. margin – Through this property the margin of all sides is defined at once.
ii. margin-top – The top margin of the element is set by this property.
iii. margin-right – Right margin of the element is set by this property.
iv. margin-bottom – The bottom margin of the element is set by this property.
v. margin-left – The left margin of the element is set by this property.