a elementis an inline element

p element

is a block element


a is now an inline-block element

p is now an inline-block element