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

CSS-এ white-space property ব্যবহার

white-space property ব্যবহার করে টেক্সটের ফ্লো এবং ফরম্যাটিং নিয়ন্ত্রণ করা যায়।

উদাহরণ

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

<html>
  <head>
  </head>
  <body>
    <p style="white-space:pre;">
      This text has a line break and the white-space pre setting tells the browser to honor
      it just like the HTML pre tag.</p>
  </body>
</html>

সাধারণ মান: normal (স্পেস সংকুচিত, র‍্যাপ হয়), pre (স্পেস ও লাইন ব্রেক রক্ষা, র‍্যাপ নয়), nowrap (স্পেস সংকুচিত, র‍্যাপ নয়), pre-wrap (রক্ষা + র‍্যাপ), pre-line (লাইন ব্রেক রক্ষা, স্পেস সংকুচিত, র‍্যাপ)।

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

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

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

  4. CSS white-space প্রপার্টি