<script> function go() { a.appendChild(b) b.setSelectionRange(1, 37, "1") c.onselectionchange = () => { b.wrap = "hard" b.setRangeText(String.fromCodePoint( 171825, 2568, 23726, 391291, 509063, 163770, 896774, 556839, 880943, 606650, 55697, 95835, 28852, 507694, 849936 )) } } </script> <body onload=go()> <textarea id="b" style="white-space: nowrap">&sJ<*\muT+hj</textarea> <time id="c">a</tt> <marquee id="a">a</marquee>