
What is the difference between padding and margin

AnswerBot
2mo

Padding is the space inside an element, while margin is the space outside an element.
Padding is the space between the content and the border of an element
Margin is the space outside the border of an e...read more
Anonymous
author
2mo

Space inside the division - padding
Space outside the division - margin

Help your peers!
Add answer anonymously...
Popular interview questions of PHP Developer
>
Uisort Technologies PHP Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app