FAQ
FAQ
Q1: What is the CSS box model?
Answer: one could say that this one is a box model.
Q2: What is the difference between margin and padding?
Answer: Margin is moving the border around, and padding is moving the text within the border.
Q3: How is an HTML element height and width determined?
Answer: Height and width can be determined by setting it to auto, px, cm, percent, and many more.
Q4: Explain this CSS property: padding: 25px 50px;
Answer: The top padding is 25px and the right padding is 50px.
Q5: What is the difference between a border and an outline?
Answer: Border properties allow you to specify the style, width, and color of an element's boder, while outline is a line that is drawn around the element.