O'Reilly logo

Web Standards: Mastering HTML5, CSS3, and XML by Leslie F. Sikos, Ph.D.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  4

Serving and Configuration

The correct appearance and handling of web documents cannot be guaranteed simply by applying strict, error-free markup. Web server configuration has a significant impact on web site appearance, operation, and behavior. Documents should be served with the proper media type and character encoding. Content negotiation can be used to serve various document versions to browsers supporting the corresponding media types. XHTML documents can be served as either HTML or XML, but there is a huge difference in processing. XML files are processed by XML parsers that are far more error sensitive than SGML parsers. XHTML served as XML involves the risk that the document cannot be rendered at all. On the other hand, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required