MDN self-hosted library · e01.org

`<nobr>` HTML non-breaking text element

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<span class="nobr">Long line with no breaks</span>
css
.nobr {
  white-space: nowrap;
}