Question: what is the difference between margin and border?
Answer: margin = space around (outside) the element from border outwards. padding = space around (inside) the element from text to border. It is good to know about the differences between margin and padding . ... In other words, margin is the space outside of an element's border, while padding is the space inside of its border.