Basically we need three display values: block, inline and none.

A block element starts on a new line and stretches out to the left and right as far as it can.

An inline element will keep the text (text is taken as an example), in one line. Example:


<!DOCTYPE html>

		<link rel="stylesheet" type="text/css" href="/index.css">
			Test block 1
			Test block 2



p {
	display: inline;

Example you can check here.

Difference between display: none and visibility: hidden, is that display: none will not reserve the place, for element, while visibility: hidden will still take the place even if element is not displayed. Examples you can see here (I am too lazy to write my own embarassed )