Answers for "how to give space in text in HTML"

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
0

how to add spaces between text in html

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

Code answers related to "how to give space in text in HTML"

Browse Popular Code Answers by Language