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, ∼1939🔥, 0💬
Popular Posts:
How to create the Hello-3.0.epub package? I have all required files to create Hello-3.0.epub. To cre...
Tools, FAQ, Tutorials: JSON Validator JSON-XML Converter XML-JSON Converter JSON FAQ/Tutorials Pytho...
How To Break a File Path Name into Parts in PHP? If you have a file name, and want to get different ...
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you...
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency ...