How To Indent First Line Of a Paragraph Using CSS ?
The first line of the paragraph can be indent by using the following property
text-indent
<!DOCTYPE html> <html> <head> <title>ITSolutionsGuides</title> <style> div { text-indent: 50px; } </style> </head> <body> <h1>Text Indentation - ITSolutionsGuides</h1> <div> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.</p> </div> </body> </html>
We hope it helps everyone. Thanks for supporting ITSolutionsGuides and keep supporting us also follow us in social media platforms.
Be the first to know about releases and tutorial news and solutions.
We care about your data in our privacy policy.
ITSolutionsGuides was started mainly to provide good and quality web solutions for all the developers. We provide tutorials to support all the developers and also we try to provide solutions to the errors we face while coding.
Copyright © 2023 - 2024 All rights reserved | ITSolutionsGuides