[X]

The HR Tag's Lost Attributes

dead tags 1995 partly

Four presentational attributes on the humble horizontal rule.

In 2026: Browsers still honour every one of these, but all four were dropped from the spec in HTML5. COLOR was Internet Explorer only and never worked in Netscape, which is why so many pages used a coloured 1 pixel gif instead.

Where it came from: HTML 3.2, W3C, 1997. MDN

<hr>
<hr size="1" noshade>
<hr size="8" width="50%" align="center">
<hr size="4" width="300" align="left" color="#FF0000">

<!-- The gif that people used instead, because HR COLOR was IE only -->
<img src="https://xbawx.com/inc/img/demo/redline.gif" width="300" height="4" alt="">

<!-- The 2026 version -->
<hr style="height:4px; width:300px; border:0; background:#FF0000">
sandboxed demo · breaks nothing but itselfrestart

More in dead tags

all 15 in dead tags › · the whole library ›