You are here: Re: Form spam? What to do? « HTML « IT news, forums, messages
Re: Form spam? What to do?

Posted by Toby Inkster on 11/13/27 11:26

cwdjrxyz@yahoo.com wrote:

> If Opera or any other browser lies that it will accept
> application/xhtml+xml, that is apparently no problem in rendering the
> page.

Opera didn't lie. It can deal with application/xhtml+xml. It just doesn't
understand the character entity references, which are an *optional* part
of the specification. (They are only required to be implemented by
validating user agents: browsers are not typically validating user agents.)

That said, Opera implemented HTML entities in XHTML ages ago. The problem
described by Leif only effects a few fairly old versions.

> Now it would be no surprise to me if Opera lies, because it can lie
> about what browser it is in the navigator.appName and call itself IE6,
> etc.

Pretty much every browser lies in its User-Agent string: IE6 calls itself
Mozilla 4.0; Firefox 1.0.6 calls itself Mozilla 5.0.

> Of course you could not use style sheets in html 3.2, since CSS only
> came in as part of html 4.

CSS is not "part" of HTML 4. One can happily use style sheets in
validating HTML 3.2 documents. (Just not the style attribute or <style>
element.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация