Elements can be classified according to the way they’re displayed—inline or block. By default, every tag has a display style that defines how it will fit with the surrounding tags. You can use the display property to define whether an element includes line breaks above and below (block), is included with other elements without hard line breaks (inline), is treated as part of a list (list), or is displayed at all (none). To set an element’s display type:
1. Start your declaration by typing the display property name in the CSS declaration block, followed by a colon (:) display: