I have two <div>
. In one of them, I have added 'Lorem ipsum' text, while the other contains numbers. I noticed that the div
with numbers does not wrap the numbers to a new line within a fixed width <div>
. Can anyone explain why numbers do not wrap to a new line? Is this situation described somewhere in the specifications?
div {
width: 200px;
}
<div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium quasi consequatur nobis magni molestias repudiandae rerum quisquam quo dolore dolorem! Sit eligendi accusamus aliquam consectetur inventore minima, fugiat qui quia.</div>
<div>111111111111111111111111111111111111111111111111</div>