Home » questions » Which document type shoud I choose and use ?

Which document type shoud I choose and use ?

2006-08-15 09:29:52, Category: Programming & Design
I want to choose a document type for my html pages . which of the document types shoud I chosse and insert in my html sources ? I choose on of them buy wc validator says its incorrect ! my website is http://www.allpopularsites.com and I check http://www.w3.org but I want to sure that the html type that Im using now is the correct one !

Answers

  1. ash_m_79

    On 2006-08-15 09:42:00


    http:///www.w3.org
  2. fuzzhead

    On 2006-08-15 09:55:38


    XHTML 1.0 strict or transitional should be fine
  3. jmfc

    On 2006-08-15 14:14:30


    XHTML 1.0 strict or transitional. XHTML is the way things are going. It is very similar to the HTML you are used to but has some stricter rules that allows it to be processed better on various devices like cellphones, pdas, etc. I checked out your site and the code looks like it is close to being valid XHTML. The one big difference is it is required that all tags are closed like the are in XML. An example would be your image tags. You can't use something like but instead need to close it like Here is the syntax for this http://www.w3.org/QA/2002/04/valid-dtd-list.html here are some sites to validate your code http://www.sidar.org/hera/ http://validator.w3.org/