white space code example

Example 1: add space in html

<!-- vertical space -->
&nbsp;
&ensp;
&emsp;

<!--horizontal space -->
<br/>

Example 2: what is whitespace

Whitespace is empty space (without any visual representation)
 on screen. Examples of whitespace characters include 
 space characters, tabs, and line break characters.

Example 3: how to have white space in css

#HTML_code
<h1> 
	My text
	<span>
		Here my white space
	</span>
</h1>

#Css_Code
h1 span::before
{
  content: "\A";
  white-space:pre;
}

Example 4: whitespace

WARNING* ☠️DANGER AHEAD, STAY AWAY☠️
Whitespace is a programming language. This is enough for you!
Stay Away From This Language

Tags: