Answers for "adding space in text html"

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
1

put space between text html

in css:
p {
  white-space: pre;
}
Posted by: Guest on May-19-2021

Browse Popular Code Answers by Language