Tantek Celik talks about the <address> and <br /> tags in his Elements of
Meaningful XHTML presentation at WE05 available here:
http://www.odeo.com/audio/270419/view
My suggestion would be that <br /> is not necessary when the same visual
effect can be achieved with <span> around each address item which is then
style span{display:block} with CSS. Each span could have a semantically
useful classname or you could look in to the hCard microformat:
http://microformats.org/wiki/hcard
Jon Tan
Grow Collective
www.gr0w.com
----- Original Message -----
From: "Hope Stewart" <[EMAIL PROTECTED]>
To: "Web Standards Group" <[email protected]>
Sent: Sunday, October 09, 2005 11:47 PM
Subject: [WSG] Avoiding the evil <br>
I'm getting the hang of this whole Web Standards way of designing a website
and for the most part can totally avoid using <br>. But in the example below
I'm unsure whether I should in fact avoid using <br>:
<p><strong>All correspondence should be addressed to:</strong><br />
The Secretary<br />
Your Club<br />
PO Box 999<br />
Anytown VIC 3000</p>
How do others code an address? My feeling is that semantically it should be
contained within one paragraph or entity of some sort. But if you were using
a screen reader, how would you differentiate one line from the next?
If I were to use an ordered list with list-style-type set to none, would
this be semantically correct? Is there a better way?
Hope Stewart
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 09/10/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 09/10/2005
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************