Getting Extra Space between Paragraphs in HTML
How To Get Extra Space between Paragraphs?
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:
2017-02-20, 851👍, 0💬
How to use the JSON to XML Conversion Tool at utilities-online.info? If you want to try the JSON to ...
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximu...
How to build a test service operation to dump everything from the "context.Request" object in the re...
How to add request query string Parameters to my Azure API operation 2017 version to make it more us...
How to create Hello-3.1.epub with WinRAR? I have all required files to create Hello-3.1.epub. To cre...