Archive for the 'HTML 4' Category

XHTML 1.0 W3C standards

March 7, 2006

I really should put my attention to other papers at the moment but I’ve been looking up XHTML 1.0. I’ve been reading the W3C Recommendation at I found it very interesting and had a good read of the differences with HTML 4.

The differences aren’t great for a basic HTML document; XHTML is case sensitive, all documents must be well formed meaning all elements must have closing tags or must be written in a special form e.g. Elements such as “br” that do not have closing tags are to be written “br/”. These are just a few its well worth reading the article if you are planning on designing/building a new website or are re-implementing one to meet the current standards.

The web application I am developing will be designed to meet these standards. A good tool to check XHTML documents to W3C standards is the W3C Markup Validation Service. I decided to check this site Only 2 errors were found: An image was missing the required “alt” attribute to provide alternate text and there was an end tag for the “p” element that was never open. Not bad!