开发者

HTML DOCTYPE fro WAPFORUM mobile Browsers

开发者 https://www.devze.com 2023-03-27 11:30 出处:网络
How to write HTML Doctype in HTML 5 for MOBILE DISPLAYS..ie normally it is WAPFORUM ie: DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobil开发者_如何转开发e 1.0//EN\" \"http://www.wapforum.org/DTD/x

How to write HTML Doctype in HTML 5 for MOBILE DISPLAYS..ie

normally it is WAPFORUM ie:

DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobil开发者_如何转开发e 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"

But HTML5 dont have a doctype rt ??

pls clarify ??


For HTML 5 the doctype is always: (not case sensitive)

$<!DOCTYPE html>

In HTML 5 the doctype is optional and there are not many cases, where omitting the doctype will cause any changes.

For more infos on doctypes look: http://en.wikipedia.org/wiki/Document_Type_Declaration#HTML5_DTD-less_DOCTYPE

0

精彩评论

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