我想我应该阅读更多关于 meta
的内容HTML 5 的标记,我遇到了一个元数据名称“application-name”,它显示为:
The value must be a short free-form string giving the name of the Web application that the page represents. If the page is not a Web application, the application-name metadata name must not be used. Translations of the Web application's name may be given, using the attribute to specify the language of each name.
简而言之,如果网页实现<meta name="application-name"...
不是 Web 应用程序,那么我们不能使用 application-name
.
究竟是什么,或者 W3C 如何定义 Web 应用程序?
编辑:亲密选民显然不明白我的意图。我问这个是因为我想决定我是否应该使用它。
最佳答案
虽然 W3C 似乎没有关于“Web 应用程序”到底是什么的任何“官方”定义,但您可以通过他们的一些其他 Material 和/或一些 commonly accepted definitions on the internet 推断出 W3C 打算用它表示的一些含义.
根据 this document,W3C 移动 Web 应用程序最佳实践建议(2010 年 12 月 14 日发布):
the term "Web application" refers to a Web page (XHTML or a variant thereof + CSS) or collection of Web pages delivered over HTTP which use server-side or client-side processing (e.g. JavaScript) to provide an "application-like" experience within a Web browser. Web applications are distinct from simple Web content (the focus of BP1) in that they include locally executable elements of interactivity and persistent state.
我相信使用您的最佳判断就足够了(尤其是在没有正式的 W3C 定义的情况下)。
关于html - W3C 如何定义 "Web Application"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23140274/