W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] [br] element should not be a line break

From: Kit Grose <kit@iqmultimedia.com.au>
Date: Thu, 5 Aug 2010 15:24:54 +0000
Message-ID: <4D8F4120-1B6C-44E4-BBD4-125DB75CC773@iqmultimedia.com.au>
I do see an advantage to permitting the arbitrary styling of the BR element.

Often a series of links shown inline are separated by a pipe (|) character. In the past I've produced this effect using border-right and other such malarky on the anchors or inline LIs with the same, but I think semantically the symbol does indeed represent a break between the links and that having the ability to style the break accordingly would be terrific.


On 05/08/2010, at 9:56 PM, Thomas Koetter wrote:

> Andy wrote:
>> Far greater semantic richness is obtained by using the ADR microformat
> Absolutely! Good point.
> As I was talking about HTML5 elements, I didn't take that into consideration.
> But then I suggest a combination of the two is even better.
> <address class="vcard">
> 	<dl class="adr">
> 		<dd class="fn">P. Sherman</dd>
> 		<dd class="street-address">42 Wallaby Way</dd>
> 		<dd class="locality">Sydney</dd>
> 	</dl>
> </address>
> This way there are some semantics even if the user agent doesn't support microformats.
> But this seems to be a separate discussion from the br element.
Received on Thursday, 5 August 2010 08:24:54 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC