what doctype should I use for a mobile website?
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 t开发者_如何学运维o support most modern handhelds like iphone and HTC devices
I guess a good resolution to use is 320*480 max!
The XHTML MP 1.2 DTD is the current recommendation, finalized in March 2008.
Source:
http://en.wikipedia.org/wiki/XHTML_Mobile_Profile
XHTML Basic 1.1 became a W3C Recommendation in July 2008, superseding XHTML-MP 1.2
Source:
http://en.wikipedia.org/wiki/XHTML_Mobile_Profile
精彩评论