पैराग्राफ़ के टेक्स्ट को संरेखित करने के लिए, text-indent गुण का उपयोग करें।
उदाहरण
संभावित मान: % या इंडेंट स्पेस निर्दिष्ट करने वाली संख्या। निम्न कोड चलाकर CSS के साथ text-indent गुण लागू करें:
<html>
<head>
</head>
<body>
<p style="text-indent:2cm;">
This text will have first line indented by 2cm and this line will remain at
its actual position this is done by CSS text-indent property.
</p>
</body>
</html>
स्पष्टीकरण: text-indent केवल पहली पंक्ति को इंडेंट करता है, पूरे पैराग्राफ़ को नहीं। पूरे पैराग्राफ़ को संरेखित करने के लिए text-align का उपयोग करें।