কম্পিউটার টিউটোরিয়াল

CSS-এ text-indent property ব্যবহার

text-indent property ব্যবহার করে প্যারাগ্রাফের টেক্সট ইনডেন্ট করা যায়। সম্ভাব্য মান: পারসেন্টেজ (%) বা সংখ্যা (ইনডেন্ট স্পেস নির্দিষ্ট করে)।

উদাহরণ

নিচের কোডটি রান করে 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>

নোট: শুধু প্রথম লাইনই ইনডেন্ট হয়। হ্যাঙ্গিং ইনডেন্ট (hanging indent) এর জন্য text-indent: -2em; padding-left: 2em; ব্যবহার করুন।

  1. CSS-এ border-right-style property ব্যবহার

  2. CSS-এ border-left-width property ব্যবহার

  3. CSS-এ list-style-type property ব্যবহার

  4. CSS-এ list-style-image property ব্যবহার