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

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

text-align property ব্যবহার করে ডকুমেন্টের টেক্সট অ্যালাইন করা যায়। সম্ভাব্য মান: left, right, center, justify।

উদাহরণ

নিচের কোডটি রান করে text-align property-র ব্যবহার শিখুন:

<html>
  <head>
  </head>
  <body>
    <p style="text-align:right;">
      This will be right aligned. </p>
    <p style="text-align:center;">
      This will be center aligned. </p>
    <p style="text-align:left;">
      This will be left aligned. </p>
  </body>
</html>

আধুনিক মান: start, end, match-parent। RTL ভাষা সমর্থনে এগুলো বেশি ফ্লেক্সিবল।

  1. CSS-এ border-top-width property ব্যবহার

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

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

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