You are here: Re: Print preview / printing screwed up in IE but not in Mozilla/ Firefox - Whazzup?? « HTML « IT news, forums, messages
Re: Print preview / printing screwed up in IE but not in Mozilla/ Firefox - Whazzup??

Posted by Ben Measures on 12/21/08 11:22

Christoph Päper wrote:
> Jedi Fans:
>
>> the xml statement is required by the w3c recommendations for xhtml
>> 1.0/1.1
>
> No, it's not. Why don't such rumours just die?

Because as with all good rumours, it's not completely false.

Excerpt from http://www.w3.org/TR/xhtml11/conformance.html :
> Here is an example of an XHTML 1.1 document.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
> <head>
> <title>Virtual Library</title>
> </head>
> <body>
> <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
> </body>
> </html>
>
> Note that in this example, the XML declaration is included. An XML
> declaration like the one above is not required in all XML documents.
> XHTML document authors are strongly encouraged to use XML declarations
> in all their documents. Such a declaration is required when the
> character encoding of the document is other than the default UTF-8 or
> UTF-16.

Regards,
--
Ben M.

 

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

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