Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: br tag in CGI.pm V2.91

by kal (Hermit)
on Apr 10, 2003 at 18:05 UTC ( [id://249698]=note: print w/replies, xml ) Need Help??


in reply to Re: br tag in CGI.pm V2.91
in thread br tag in CGI.pm V2.91

If it's a legacy browser, it shouldn't have X/HTML delivered to it - I suspect what cLive ;-) is doing is delivering X/HTML as HTML, which would cause Mozilla to go into tagsoup mode (i.e., you're not in strict or even transitional, you're in nothing).

I tested my Moz, and <br/> is equivilent to <br></br> in an X/HTML document delivered as such. For HTML documents, <br> is the only valid markup - <br/> won't work, and <br /> is invalid HTML (although they do suggest it in the XHTML spec as some kind of backward compatible thing, which is wrong IMO).

Such is life :( I tend to deliver valid X/HTML to those clients that can handle it, and tagsoup to the rest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://249698]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-16 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found