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 http://www.w3.org/TR/xhtml1. 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 https://elevate.wordpress.com. 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!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: