开发者

Which doctype is reccommended by W3C itself for mobile Websites?

开发者 https://www.devze.com 2023-03-01 06:40 出处:网络
Which doctype is recommended by W3C itself for Mobile Websites? And what is the correct doctype code of that which is valid to开发者_运维百科o?I don\'t think the W3C has made a recent statement on th

Which doctype is recommended by W3C itself for Mobile Websites?

And what is the correct doctype code of that which is valid to开发者_运维百科o?


I don't think the W3C has made a recent statement on the matter.

The state of mobile devices today is such that you should use the same Doctype as you use for the rest of your site (which should be one that triggers standards mode, likely HTML 4.01 Strict or HTML 5)


If you are designing for many phones use XHTML MP.

If you are targeting high end Android phones/iPhone just use <!DOCTYPE html>


It depends on your definition of mobile phone.
If I were you Id pick XHTML Basic 1.1 for WAP phones and HTML5 for smartphones.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号