In FORTRAN, you can request to print a line from the previous line. When printing on old line printers, this mechanism can be used for many purposes, from simulating characters that are not in the encoding of the printer, for example. / over = for & ne ;, in shades of gray for ASCII.
What is the most efficient and reliable way to express that a line should seal the previous line in HTML / CSS, ideally, a custom tag that is "carriage return" like <br> refers to a "line"? Obviously, this will only be used in the <pre> tag.
Update. Marking overprinted lines as "line-height: 0" in the <pre> tag results in inconsistent line spacing .
CSS
div { line-height: 0; }
HTML:
<pre><div>XXXX<br>----<br>||||</div><br>XXXX<br>YYYY</pre>
(previously defined in RetroComputing, posted here.)
source
share