How do you to put spaces between text in html? For example,
a b c
What do you put to have space between b and c?>
Try using white-space with value pre
.
pre
Sequences of whitespace are preserved. Lines are only broken at newline characters in the source and atelements.
p {
white-space: pre;
}
a b c
Use a monospaced font if you need each black space to take exactly one character width.
p {
white-space: pre;
font-family: monospace;
}
a b c