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

CSS-এ টেক্সট ডেকোরেট (decorate) করা

CSS-এ টেক্সট ডেকোরেট করতে text-decoration property ব্যবহার করা হয়। সম্ভাব্য মান: none, underline, overline, line-through, blink (অপ্রচলিত)।

<html>
  <head>
  </head>
  <body>
    <p style="text-decoration:underline;">
      This will be underlined </p>
    <p style="text-decoration:line-through;">
      This will be striked through. </p>
    <p style="text-decoration:overline;">
      This will have a over line. </p>
    <p style="text-decoration:blink;">
      This text will have blinking effect </p>
  </body>
</html>

আধুনিক CSS: text-decoration এখন shorthand: text-decoration-line, text-decoration-color, text-decoration-style (solid, double, dotted, dashed, wavy), text-decoration-thickness।

  1. CSS ব্যবহার করে টেক্সট ফরম্যাটিং

  2. CSS ব্যবহার করে টেক্সট রং সেট করুন

  3. CSS-এ টেক্সট ফরম্যাটিং

  4. CSS text-decoration দিয়ে টেক্সট সাজানো: আন্ডারলাইন, ওভারলাইন, লাইন-থ্রু