Certified HTML5 Developer Learning Resources Block and Inline Elements

Learning Resources
 

Block and Inline Elements


All HTML elements are naturally displayed in one of the following ways:

Block
    Takes up the full width available, with a new line before and after (display:block;)
Inline
    Takes up only as much width as it needs, and does not force new lines (display:inline;)
Not displayed
    Some tags, like and