Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Setting mobile website with correct DOCTYPE



11:06 am on Nov 11, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

I like to know if it is correct way to set DOYTYPE like:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

How to support UTF8 inside such websites in the correct way?


8:40 pm on Nov 28, 2011 (gmt 0)

5+ Year Member

The recommended media type for serving XHTML is application/xhtml+xml. More browsers are likely to support that media type, and optimize the rendering for it. application/vnd.wap.xhtml+xml is widely used and supported in mobile networks as well but is unlikely to be supported by non-mobile browsers.

from w3c website
ps they have a mobile site validator

Featured Threads

Hot Threads This Week

Hot Threads This Month