Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Get Extra Space between Paragraphs
How To Get Extra Space between Paragraphs? - XHTML 1.0 Tutorials - Body Tag and Block Level Tags
✍: FYIcenter.com
By default, browsers will give a predefined white space between two paragraphs. But if you want some extra white space between two paragraphs, you can enter an extra paragraph with a entity.
Note that a true empty paragraph will not give any extra white space. See the following tutorial XHTML document:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Extra Space between Paragraphs</title> </head> <body> <p>Row, row, row your boat, Gently down the stream.</p> <p></p> <p>Merrily, merrily, merrily, merrily, Life is but a dream.</p> <p> </p> <p>Fr?re Jacques, Fr?re Jacques, Dormez vous? Dormez vous? Sonnez les matines, Sonnez les matines, Din, din, don! Din, din, don!</p> </body> </html>
If you save the above document as space.html, and view it with
Internet Explorer, you will see that the empty paragraph gives no
extra white space. But the paragraph with a entity does
give the extra white space you wanted as shown below:
2007-05-12, 4784👍, 0💬
Popular Posts:
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to itera...
How To List All Values of Submitted Fields? - PHP Script Tips - Processing Web Forms If you want lis...
How To Retrieve the Count of Updated Rows? - Oracle DBA FAQ - Working with Database Objects in PL/SQ...
.NET INTERVIEW QUESTIONS - Is versioning applicable to private assemblies? Versioning concept is onl...
What is a fish bone diagram ? Dr. Kaoru Ishikawa, invented the fishbone diagram. Therefore, it can b...