Basic and Advance CSS Examples and Concepts Question:

Download Job Interview Questions and Answers PDF

What Is the HTML Element Formatting Model in CSS?

Cascading Style Sheet CSS Interview Question
Cascading Style Sheet CSS Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How To Use IDs to Override Classes in CSS?What Are the Formatting Behaviors of HTML Elements?