Difference Between HTML5 and jQuery
HTML5 is the fifth revision of the HTML standard. HTML stands for HyperText Markup Language. It is a well known mark up language used to develop web pages. It has been around for a long time and is commonly used in webpage design. XML or Extensible Markup Language defines a set of rules for encoding documents in a format that can be read by both, human and computer.
HTML is written using HTML elements, which consist of tags, primarily and opening tag and a closing tag. The data between these tags is usually the content. The main objective of HTML is to allow web browsers to interpret and display the content written between the tags. The tags are designed to describe the page content. HTML comes with predefined tags. They allow one to insert images, text, videos, forms and other pieces of content together into a cohesive webpage.
The core aims of HTML5 have been to ‘improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices, such as web browsers, parsers, etc.’ HTML5 supercedes HTML 4, as well as XHTML 1 and DOM Level 2 HTML. Additionally, as of December 2012, HTML5 is W3C Candidate Recommendation.
HTML5 aimed to address the variety of mixture of features introduced by various specifications by various browsers. It also aimed to address the many syntax errors in existing web documents. Additionally, it attempts to define a single markup language that can be written in either HTML or XHTML syntax. It is also backward compatible with the previous HTML versions.
jQuery also makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
Image Courtesy: w3.org, dochub.io