COMP3092 Group 2
Monday, October 03, 2005
  COMP3092 Group 2
Why and how to use XHTML

This page tries to be a quick guide on how to convert your pages to XHTML. It goes through why you should use XHTML, and what it really is.

This document is for people who knows HTML already, it's for people who know how to write HTML, this means, you're not a Frontpage or Dreamweaver user.


What is XHTML?

You might have heard about XML before, XML is the 'eXtensive Markup Language'. This is a relative new markup language which is much more strict than HTML. XML is actually used to DEFINE markup languages, that is, you can create your own set of elements with XML. The benefits of XML is that it's more predictable, it's more strict, and therefor more human readable, and also more readable for programs which have to render the code.

From this comes XHTML, a new HTML version defined in XML, this means that it will go under the same rules as XML. One of the reasons why XHTML was made, was because of the lousy HTML around the Internet, people simply weren't restricted enough to the language, so therefor they were almost allowed to write ugly code.


Why should I use XHTML? I'm perfectly happy with HTML!

There's many good reasons why you should use XHTML:
The browser will warn you immediately if there are syntax errors on your page (no need for validator)
It forces you to write better and more structured code
It's cleaner
Its "the future". Many embedded devices will only play with XHTML, since XHTML is much easier to parse than HTML.
 
  What is XML
XHTML is the next generation of HTML and is a hybrid between HTML and XML. XML was designed to describe data. HTML was designed to display data. XHTML is much stricter than HTML. Not all browers support XML so XHTML provides an intermediary soluton and can be interpreted by XML and HTML browsers. For further information see: http://www.w3c.org/MarkUp/.

http://www.google.co.uk/url?sa=X&start=0&oi=define&q=http://www.liv.ac.uk/webteam/glossary/
 
Monday, September 26, 2005
 
hi all
Just testing how you edit a comment
 
  First post
Just a post to get us started
 
What is "Extensible HyperText Markup Language" (XHTML), how and why should we use it?

ARCHIVES
September 2005 / October 2005 /


Powered by Blogger