HTML6你就这样抛弃JavaScript?
关于 HTML6 意在实现无 JavaScript 的单页应用,这引起了前端开发社区一片哗然。请深呼吸,然后继续下面内容。

W3.org 分享了一个 casual proposal for HTML6 ,这引起了前端社区的激烈争论。来自前 NSA 雇员和创业企业级 Bobby Mozumder 提交了这份建议,声称一个高性能的响应式 Web 体验无需 JavaScript 支持。
Mozumder 写道:新兴的 Web 应用通过 JSON API 加载动态内容,这是单页应用的一个标准设计模式。大多数人采用这种方法是因为它比加载一个完整 HTML 页面要节省很多时间。
这种模式使用那么的广泛,因此 Mozumder 的建议是未来浏览器应该直接提供动态加载内容的功能,而不需要开发者编写任何 JavaScript 代码。
下面是 Mozumder 建议的 HTML 代码:
"Big News!” - "
This is the first article intro.
This is the second paragraph.
""Not so big news" - "
This is the second article.
"- Click here to replace the articles with different articles.
- Click here to replace the picture with a different picture.
![]()
分享标题:HTML6你就这样抛弃JavaScript?
当前URL:http://www.jxjierui.cn/article/codshjc.html


咨询
建站咨询
