<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/assets/reset.css" rel="stylesheet">
<link href="setup.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<section>
<h2>Default</h2>
<p>This is just a paragraph, so we have some text to overflow our container. Some more text, and maybe another line. It’s probably now a long enough example, but I’m just getting in the groove here of typing it out here so let’s continue going longer. You may have noticed that many big/long words make for worse rags. Let’s have a little bit extra, for good measure. And more!</p>
</section>
<section>
<h2>“Ragged”</h2>
<p>This is just <nobr>a paragraph</nobr>, so we have some text <nobr>to overflow</nobr> <nobr>our container</nobr>. Some more text, <nobr>and maybe</nobr> another line. <nobr>It’s probably</nobr> now <nobr>a long</nobr> enough example, but I’m just getting in the groove here of typing it out here so let’s continue going longer. You may have noticed that many big/<wbr>long words make for worse rags. Let’s have a little bit extra, for good measure. And more!</p>
</section>
</body>
</html>
/* Restore “default” behavior. */
nobr { white-space: nowrap; }
/* You could also do this! And use it wherever/on a `span`. */
.nowrap { white-space: nowrap; }