how to make space between text in html code example

Example 1: add spaces html

&nbsp;  <!-- 1 space -->
&ensp;	<!-- tab; 2 space -->
&emsp;	<!-- tab; 4 space -->

Example 2: leading spaces html

<!--   Add leading white space in front of text  -->

&nbsp;Hello World

<!--    Output:   ' Hello World'    -->

Example 3: word spacing css

.classname {
  word-spacing: *px
}

Example 4: html space between words

<p style="word-spacing: 200px;"> Text with huge spacing between words </p>

Example 5: how to create space inbetween text css

<div style="letter-spacing: 1em;">It's a wide wide word!</div>

<div style="line-height: 1.5;">

<div style="text-indent: 50px;">

Tags:

Html Example