Tools, FAQ, Tutorials:
Getting Extra White Spaces in HTML
How To Get an Extra White Space?
✍: FYIcenter.com
As you know that white space characters will be ignored in elements like "p".
So how to get some extra white space to show up in your text paragraphs?
On easy solution is to use XHTML entity: " ", which stands for
"non-breaking space".
Here is an example of using "nbsp":
<!-- 4 white spaces at the beginning of the paragraph -->
<p> There was once upon a time
a peasant-woman who had a daughter and a step-
daughter.</p>
⇒ HTML Document Structure and Head Level Tags
⇐ White Space Characters Handling Rules in HTML
2024-02-18, ∼2236🔥, 0💬
Popular Posts:
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the ...
Why am I getting this "Docker failed to initialize" error? After installing the latest version of Do...
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use ...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...