If the bottom margin of a

element is currently set to zero, which of the following could account for the fact that there is still space between two consecutive paragraphs on a page?

  • The space between <p> elements cannot be removed using CSS
  • The <p> elements automatically have margin-top, which must also be reset
  • The <p> elements automatically have padding, which must also be reset
  • The height of the <p> elements must be set in CSS to remove the space


Elements like <h1>–<h6> and <p> have a default margin-top and margin-bottom and setting both to zero will remove the spacing completely.

Leave a comment

AdBlock Detected

Looks like you are using an ad-blocking browser extension. We request you to whitelist our website on the ad-blocking extension and refresh your browser to view the content.