Friday, September 22, 2006
CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements
CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements
What Is the HTML Element Formatting Model?
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.
More ...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment