const contentString = "Hello, world";
document.body.innerHTML = contentString.fixed();String.prototype.fixed() / notebook
String.prototype.fixed()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
<tt>Hello, world</tt>document.getElementById("yourElemId").style.fontFamily = "monospace";