HTML Introduction to HTML and CSS HTML: The Structural Foundation of Web Pages and Applications Paragraph Tags

Jason Zouikri
Jason Zouikri
782 Points

1:38 "Second Paragraph has a Bottom Margin"

To me, it seems unclear as if the second paragraph text (inner) has the margin or simply the <p>paragraph</p> text causes the "third paragraph" to have leading space (or second has trailing space).

1 Answer

Thurston Daly
Thurston Daly
1,631 Points

From what I'm seeing, the <p> and </p> tags will add margin before and after the text. This is why you see a space before the text not using the <p> tags that is entered immediately after the </p> but no space when text is added following text without a </p>