Basic and Advance CSS Examples and Concepts Question:

What Is the HTML Element Formatting Model in CSS?

Tweet Share WhatsApp

Answer:

An HTML document is divided into HTML elements. Each element is considered as a formatting unit using a box-oriented formatting model, which has:

► Content Box - A rectangular area for displaying the element content.
► Padding Box - A rectangular area surrounding the content box acting as padding space.
► Border Box - A rectangular area surrounding the padding box acting as border lines.
► Margin Box - A rectangular area surrounding the border box acting as margin space.


Download Cascading Style Sheet CSS PDF Read All 26 Cascading Style Sheet CSS Questions
Previous QuestionNext Question
How To Use IDs to Override Classes in CSS?What Are the Formatting Behaviors of HTML Elements?