Html Space Between Paragraphs
In your case the paragraphs are the same element so just setting padding and margin to zero will bring all p s clsoer together anyway.
Html space between paragraphs. This is called a. The following example demonstrates how to increase or decrease the space between words. You can of course change 2em to whatever number that suits your purpose.
For example to increase the gap to 2em add this to your style sheet. Type to force an extra space. You can separate your paragraphs with first line indentation instead of margins by using the css text indent property.
However it wont bring a p closer to any other following. Press space to add a normal space. Don t add empty paragraphs as it may confuse the users of assistive technologies.
10px h2 word spacing. P this is another paragraph. Try it yourself.
P this is a paragraph. P and this is the second paragraph. Changing the space between paragraphs is thus a matter of altering the top and bottom margins.
You can edit an html document using a text editor such as notepad or textedit on windows. Html html tag reference. This is usually rendered with two carriage returns producing a single blank line in between the two paragraphs.