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

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

text-decoration property ব্যবহার করে টেক্সটে আন্ডারলাইন (underline), ওভারলাইন (overline), স্ট্রাইকথ্রু (line-through) যোগ করা যায়।

উদাহরণ

নিচের উদাহরণটি দেখিয়ে কীভাবে টেক্সট ডেকোরেট করা যায়। সম্ভাব্য মান: 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, text-decoration-thickness।

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

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

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

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