white space w3s code example
Example: how to have white space in css
#HTML_code
<h1>
My text
<span>
Here my white space
</span>
</h1>
#Css_Code
h1 span::before
{
content: "\A";
white-space:pre;
}
#HTML_code
<h1>
My text
<span>
Here my white space
</span>
</h1>
#Css_Code
h1 span::before
{
content: "\A";
white-space:pre;
}