Answers for "space in html text"

14

leading spaces html

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

&nbsp;Hello World

<!--    Output:   ' Hello World'    -->
Posted by: Guest on June-11-2020
21

add space in html

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

<!--horizontal space -->
<br/>
Posted by: Guest on October-29-2020
0

how to add spaces between text in html

p {
  white-space: pre;
}
Posted by: Guest on December-08-2020

Browse Popular Code Answers by Language