They are related however: Javascript code embedded in (or referenced from) HTML5 documents can use the objects and methods provided by jQuery to perform its tasks.
jQuery is a javascript library. In the other hand HTML5 is the latest version of HTML. One is programming language, javascript, the other is markup language.
HTML is used for the structure of a web document, but javascript is used to control user's interaction with the HTML document, for example a click on HTML element.
发布评论
评论(4)
HTML5 是一种标记语言。 jQuery 是一个 Javascript 库。它们不是同一件事。
然而,它们是相关的:嵌入 HTML5 文档(或从中引用)的 Javascript 代码可以使用 jQuery 提供的对象和方法来执行其任务。
HTML5 is a markup language. jQuery is a Javascript library. They're not the same thing.
They are related however: Javascript code embedded in (or referenced from) HTML5 documents can use the objects and methods provided by jQuery to perform its tasks.
jQuery 是 Javascript
HTML5 是 HTML
jQuery is Javascript
HTML5 is HTML
jQuery 是一个 JavaScript 框架,HTML5 是一种用于 HTML 结构/表示的语言。
jQuery is a JavaScript framework, HTML5 is a language for HTML structure/presentation.
jQuery 是一个 JavaScript 库。另一方面,HTML5 是 HTML 的最新版本。一种是编程语言,javascript,另一种是标记语言。
HTML 用于构建 Web 文档,而 javascript 用于控制用户与 HTML 文档的交互,例如单击 HTML 元素。
了解有关 HTML5 的更多信息: http://en.wikipedia.org/wiki/HTML5
了解更多信息JavaScript: http://en.wikipedia.org/wiki/JavaScript
阅读有关 jQuery 的更多信息:<一个href="http://en.wikipedia.org/wiki/JQuery" rel="nofollow">http://en.wikipedia.org/wiki/JQuery
jQuery is a javascript library. In the other hand HTML5 is the latest version of HTML. One is programming language, javascript, the other is markup language.
HTML is used for the structure of a web document, but javascript is used to control user's interaction with the HTML document, for example a click on HTML element.
Read more for HTML5: http://en.wikipedia.org/wiki/HTML5
Read more for Javascript: http://en.wikipedia.org/wiki/JavaScript
Read more for jQuery: http://en.wikipedia.org/wiki/JQuery