# CSS - block

The most popular of the display property is block. Unlike inline or inline-block, the block display will start a new line occupy the whole width of the parent.

block: displays an element as a block element. It starts on a new line and takes up the whole width.

Some block elements include the <div> ,<h1>, <p>

# Resources

Code Snippet of CSS - block

More Courses