in HTML by (1.7k points)

 Explain the CSS “box model” and the layout components that it consists of

1 Answer

0 votes
by (1.7k points)

The CSS box model is a rectangular layout paradigm for HTML elements that consists of the following:

  • Content - The content of the box, where text and images appear
  • Padding - A transparent area surrounding the content (i.e., the amount of space between the border and the content)
  • Border - A border surrounding the padding (if any) and content
  • Margin - A transparent area surrounding the border (i.e., the amount of space between the border and any neighboring elements)

Related questions

0 votes
asked Aug 17, 2020 in HTML by RShastri (1.7k points)
+1 vote
0 votes
asked Aug 17, 2020 in HTML by RShastri (1.7k points)
+1 vote
asked Aug 17, 2020 in HTML by RShastri (1.7k points)
+1 vote
asked Aug 17, 2020 in HTML by RShastri (1.7k points)
+1 vote
asked Aug 17, 2020 in HTML by RShastri (1.7k points)
0 votes
asked Oct 23, 2019 in HTML by AdilsonLima (6.3k points)
0 votes
0 votes
0 votes
asked Oct 23, 2019 in HTML by AdilsonLima (6.3k points)
...