0
CSS The text-indent property I do not understand why you would use this when the </br> tag takes the text back to the left hand side of the page, and as soon as I start a new class the first line of text in a paragraph even with a class it imprints onto every other paragraph like it or not. Why is this please?
2 Respostas
+ 1
This is a paragraph.<br>this is a paragraph.
Outcome:
This is a paragraph.
This is a paragraph.
<p>This is a paragragh.</p>
P{
Text-indent:15px;
}
Before:
This is a paragraph.
Outcome:
This is a paragraph.
+ 1
Thank you for the reply but I wanted to find a way to indent one paragraph and leave the rest as normal by default text, I did this in the end by giving the text-indent a class of none then in my css:
p.none{
text-decoration:none;
text-indent:60px;
}
This made the indented text work only in the paragraph with <p class="none">text example</p>
and every normal <p></p> paragraph came out as it would normally come out.
If this was also helpful to anyone else please like and comment thank you.