Search This Blog

Pages

Wednesday, February 16, 2011

Block vs. Inline Level Elements

Nearly all HTML elements are either block or inline elements. The characteristics of block elements include:

* Always begin on a new line
* Height, line-height and top and bottom margins can be manipulated
* Width defaults to 100% of their containing element, unless a width is specified

Examples of block elements include
, ,

,
,

No comments:

Post a Comment