+1 vote
by
Help to understand the basics of typesetting. There is a div, there are several elements: headers, paragraphs... of Part of the (border) have these items. To set the padding between these elements according to the layout, you need to use margin or padding? As I understand it, if no, then you can use any of these properties?

1 Answer

+2 votes
by
margin is the distance between the elements
padding is the distance between the contents and framework
The answer to your question: regardless of whether or not there is a framework to set margins between elements, use margin
...