computer torture.

Valid XHTML 1.0! Valid CSS!

XHTML (extensible hyper text markup language) V1.0 Strict template

Overview

This page is validated "XHTML 1.0 Strict" formed using XML (extensible markup language). If this document is used as a template and the recommendations followed it should be easy to produce well formed XML and XHTML for web use. When presented with XHTML all main browsers should render the content, with layout dependent on style sheet support. If the XHTML is accessible, text browsers, braille readers, speech synthesisers and a host of other output devices should all be capable of rendering the content accurately. Mozilla 5 can render the XML itself.

The browser looks to the mime-type not the file extension when handling documents. XHTML is mime-type "text/html". Thus an extension of .xhtml served with a mime-type of "text/html" will merely be rendered by a browser as very strict HTML (hyper text markup language), and yet the source will be capable of many things....

For authoring, the main principle is to separate the various parts of the document:

Well formed-ness

HTML compatability

name attribute is deprecated for the following tags:

CSS (cascading style sheets) guidelines

The way XML and HTML interpret the same CSS varies.

Accessibility

Website level guidelines
Document level guidelines
Specific guidelines
Links
Data Tables
Forms

For great accessiblity training: http://www.w3.org/TR/WAI-WEBCONTENT/

Javascript

Using server-side scripts instead of client-side where possible is likely to increase accessibility, as they are less platform / preference dependent. If you are looking towards XHTML Basic then client scripts are to be dropped completely.

Validation

www.computertorture.com

To validate this page: http://validator.w3.org/check?uri=http://www.computertorture.com/xhtml/template.xhtml