Difference between HTML5 and jQuery [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
开发者_JAVA百科Closed 8 years ago.
Improve this questionIs there a difference between HTML5 and jQuery, or is jQuery an instrument I can use in the HTML5 logic ?
I am a little confused by the terminology I guess and I hope someone can enlighten me.
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 is Javascript
HTML5 is HTML
jQuery is a JavaScript framework, HTML5 is a language for HTML structure/presentation.
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
精彩评论