DOCTYPE Help For Charity Website
Good morning everyone. I am building a website for a charitable organisation, imove estate agents cornwall. I am a little bif of a newb and I understand that on this page:
I should have a DOCTYPE in the HTML. My question is, What DOCTYPE should I use?
Page has frames and a flash sldieshow.
Any assistance wuld be very much appreciated.
You may use either a HTML or an XHTML, depending how you have coded. As far as I can see, you have mixed up the HTML way of coding with XHTML way, which is not good. Make up your mind:
- either you use an HTML Doctype and write the non-empty tags (link, img, meta, etc) in a HTML way: <link>, <img> <meta>, etc
- or you use an XHTML Doctype and close the non-empty tags in an XHTML way: <link />, <img /> <meta/>, etc
But not both on the same document, as it is now in your site.
Whats the difference between html & xhtml ? Is it just the way tags are closed etc?
When should it be applied?
It does not matter which one you use. HTML strict is as better as XHTML strict.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread