1. Why use spans and not divs when divs are already block level
   elements. No need for CSS styling.
2. The main compelling reason to use br's is because semanically that
   is the right way to do it. Not a big deal I though because a line
    break is a fairly semantically neurtal thing anyways.

Just my thoughts.

Alan Trick

Jon Tan wrote:
> 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" <wsg@webstandardsgroup.org>
> 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
> ******************************************************
> 
> 
> 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to