Learning Resources

Block and Inline Elements

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

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