XHTML
Convert - HTML to XHTMLThe Doctype The first change to make on your page is the Doctype. When using HTML it is good practice to add a Doctype to the beginning of the page like this. This was optional in HTML, XHTML requires you to add a Doctype. There are three doctypes in use. Strict - This is used mainly when the markup is very clean and there is no 'extra' markup to aid the presentation of the document. This is best used if you are using
CSS (Cascading Style Sheets) for presentation. Transitional - This should be used if you want to use presentational features of HTML in your page. Frameset - This should be used if you want to have frames on your page. The Main Changes There are several changes to be made from HTML to XHTML:
|
Last updated on 3 September, 2006 Copyright 'Banjo' UK