প্যারাগ্রাফের টেক্সট অ্যালাইন করতে text-indent property ব্যবহার করা হয়। এটি প্যারাগ্রাফের প্রথম লাইনের ইনডেন্ট নির্ধারণ করে।
উদাহরণ
সম্ভাব্য মান: পারসেন্টেজ (%) বা সংখ্যা (ইনডেন্ট স্পেস নির্দিষ্ট করে)। নিচের কোডটি রান করে CSS-এ text-indent property-র ব্যবহার শিখুন:
<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>
নোট: শুধু প্রথম লাইনই ইনডেন্ট হয়, বাকি লাইনগুলো सामान्य থাকে।