A div is a block level element.

It is possible to display a div or any other block level element as an inline element.

This div is displaying as an inline element by setting the display property to inline.

The anchor tag creates an inline element

We can force the link to be displayed as block level