Question from the HTML5/CSS3 test

Calculate the vertical spacing between 2 paragraphs in HTML5

Hard

Or the following code:

<style>
    p{
      margin: 8px 0;
      padding: 2px 0;
    }
</style>
 
<p>Lorem ipsum dolor sit amet consectetur adipisicing.</p>
<p>Quia, assumenda aliquam? Dolore facilis ab nihil.</p>

What will be theexact value of the vertical spacing between these 2 paragraphs?

Author: Jean-marie CléryStatus: PublishedQuestion passed 1749 times
Edit
6
Community EvaluationsNo one has reviewed this question yet, be the first!