logo       


Re: xhtml compatibility guideline: msg#00052

Subject: Re: xhtml compatibility guideline
Hi Mark,

At 01:28 PM 12/21/2002 -0800, you wrote:
The suggestion to output <br /> is a suggestion because a few common browers
that don't understand xhtml are able to render this invalid html in some
reasonable manner.  This is only going to work with bug-compatible browsers.

When you say "this is only going to work with bug-compatible browsers", are you implying that browsers which only understand standards compliant XHTML won't understand <br /> as opposed to the "correct" <br>?  There is nothing in the XML or XHTML specs that I know of which forbid the extra space between the tag name and the ending "/".

The whole reason for the recommendation of doing <br /> is so that both standards compliant XHTML-capable *and* older browsers can understand the same XHTML markup.  The latter case being one where the older browser is fooled into thinking that it is normal html instead of XHTML...basically taking advantage of the way the html parser works in those older browsers.

So, doing <br /> rather than <br/> doesn't hurt anything and it helps the older browsers understand the markup while the opposite renders properly only in new standards compliant browsers.  Since there is no harm in doing <br />, why not do it by default for all XHTML output?  No switches needed....although one could still be there if one really just wants <br/>.


Jake
Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe