এলিমেন্টের ভেতরে টেক্সট র্যাপিং নিষিদ্ধ করতে white-space প্রপার্টিটি ব্যবহার করুন। white-space প্রপার্টিটি বাস্তবায়ন করতে নিচের কোডটি চালান:
উদাহরণ
<!DOCTYPE html>
<html>
<head>
<style>
p {
white-space: nowrap;
}
</style>
</head>
<body>
<p>
This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is some text. This is demo text.
</p>
</body>
</html>