本文介绍了我应该在移动网站上使用哪种doctype?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在从头开始创建我的网站的移动版本,但我不确定我应该使用哪种doctype。似乎没有一个明确的标准是真的吗?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?我想支持大多数现代手持设备,如iphone和HTC设备I'd like to support most modern handhelds like iphone and HTC devices我想使用的最佳分辨率最高为320 * 480!I guess a good resolution to use is 320*480 max!感谢您帮助我推荐答案 XHTML MP 1.2 DTD是目前的建议,于2008年3月完成。资料来源: http://en.wikipedia.org/wiki/XHTML_Mobile_Profile 这篇关于我应该在移动网站上使用哪种doctype?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-22 16:26