0
<p> Cheese </p>
<p> Apples </p>

<p> Potatoes <br>
Carrots </p>

I'd like the line break between 'Cheese' and 'Apples' to be a different size between the line break between 'Potatoes' and 'Carrots' due to the lines breaking in different ways.

Would this be possible.

Sorry, complete noob, just trying to learn HTML.

Mal
  • 29
  • 5

2 Answers2

0

The height of a line within a paragraph is determined by the CSS line-height property.

The space between paragraphs is determined by the CSS margin-top and margin-bottom properties.

Quentin
  • 857,932
  • 118
  • 1,152
  • 1,264
0

What the others say is true; both approaches work. You can also use an inline style if you really only want to control one paragraph -- you can do:

style="margin:10px;"

or whatever distance you need, as an attribute in your

tag. This kind of CSS inline style should be used sparingly, though.