W3C home > Mailing lists > Public > www-html@w3.org > December 2002

Re: <hr /> and WD-xhtml2-20021218

From: Toby Inkster <tobyink@goddamn.co.uk>
Date: Tue, 31 Dec 2002 12:29:02 -0000 (GMT)
Message-ID: <1105.80.4.132.158.1041337742.squirrel@ophelia.goddamn.co.uk>
To: <vehementpetal@hotmail.com>
Cc: <www-html@w3.org>

Devon Y. said:
> I just can't see how an <hr /> element is anything but presentational.
> Anyone can mimic the <hr />'s effect using CSS. For me, that means <hr
> />'s  are just code clutter.

I am very much of the school of thought that we should use XHTML 2 as a
way to kill off the <hr /> element. Once <br /> is gone, <hr /> will be
the only empty visible element (ie: not inside <head /> or <object />)

Instead we should define a special object type attribute value, say
"special/hr" that can be used like this:

<p>Block of text</p>
<object type="special/hr">------------------</object>
<p>More text after a horizontal rule</p>

This can be used for those people who are desperate for a rule, but refuse
to use CSS, or for CSS-less browsers.

-- 
Toby A Inkster BSc (Hons) ARCS
E-mail:   tobyink@goddamn.co.uk
PGP:      http://www.goddamn.co.uk/tobyink/node.cgi?id=12
Web Page: http://www.goddamn.co.uk/tobyink/
IM:       AIM:inka80 ICQ:6622880 YIM:tobyink Jabber:tobyink@a-message.de

Being a BALD HERO is almost as FESTIVE as a TATTOOED KNOCKWURST.
Received on Tuesday, 31 December 2002 07:30:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT