what doctype should I use for a mobile website?

doctype, iphone, mobile

Solution

The XHTML MP 1.2 DTD is the current recommendation, finalized in March 2008.

Source:

http://en.wikipedia.org/wiki/XHTML_Mobile_Profile

Problem

I'm creating a mobile version of my website from scratch, but I'm unsure what doctype I should use. There does not seem to be a clear standard is that true? On many mobile sites I see : ``` <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"> ``` On others I find : ``` <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> ``` Can somebody point me in the right direction for decent mobile web design? I'd like to support most modern handhelds like iphone and HTC devices I guess a good resolution to use is 320*480 max!

Original source