I know that I can use <br>
for a simple line break. I also know that I can add indentation by adding styling to a <p style="margin-left:12px">
.
Now I have a problem, which is that <p>
breaks two lines, it is almost like inserting <br><br>
.
I cannot apply styling to <br>
and also am unable to figure out how to prevent the double line break from <p>
.
Is there something like an element that does not break lines or similar? No matter what element I add to apply styling, they have that double line break, e.g. div
.
The Look
What I want
some text
some other text
even more text
What I was able to achieve
This is what I get using three <p>
with margin-left
styling:
some text
some other text
even more text
This is what I can achieve with br
:
some text
some other text
even more text