HTML和WML/WAP有什么区别? [英] What's different between HTML and WML/WAP?

查看:115
本文介绍了HTML和WML/WAP有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我检查了一些WAP网站的来源,

I checked the source of a few WAP sites,

但没有发现与普通HTML页面不同的地方.

but doesn't find anything different from a normal HTML page.

您能说几点详细点吗?

推荐答案

WAP,WAP/WML在标记方面非常严格,因为页面需要在交付给客户端设备之前进行编译

Well, WAP/WML is very strict when it comes to markup because the page needs to be compiled before delivery to the client device.

关于细节,

  • WAP页面"可以有多个卡". (令人困惑?我知道...)
  • 尽管与标记无关,但是可接受的图像格式受到更多限制
  • 不要不要忘记DOCTYPE!
  • 内容必须使用text/vnd.wap.wml MIME类型
  • WAP "pages" can have more than one "card". (Confusing? I know...)
  • Although not markup related, accepted image formats are more limited
  • Do not forget a DOCTYPE!
  • Content must be served with the text/vnd.wap.wml MIME type

这篇关于HTML和WML/WAP有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆