|Definition||An advanced programming language that makes web pages more interactive and attractive. It is a scripting language.||The most basic language to create web pages on the web. It is a markup language.|
|Usage||Gives static web pages the dynamic functionality.||Provides static content on web pages that cannot be changed.|
|Platform||Static content can be displayed by any web browser.||Code runs only on the JS engine.|
|Community||Under ECMA TC-39 Committee.||Under W3C and WHATWG.|
|Compatibility||Doesn’t have cross-browser compatibility. Supported by browsers based on the functionalities.||Has the cross-browser compatibility. Supported by all the browsers.|
|Standardization||Has been standardized by ECMA.||Has been standardized by W3C and WHATWG.|
|Generality||Used in many client and server side environment.||Used in majority of sites of the World Wide Web.|
This high-level scripting language can easily insert dynamic text in web pages written in HTML. Introduced by Netscape, it runs on the client-side of the browser.
What is HTML
HTML or HyperText Markup Language is the most basic language used in creating web pages. It is the most basic building block of web. It is used to define the meaning and structure of the web content.
HTML was developed by the W3C (World Wide Web Consortium) and the WHATWG (Web Hypertext Application Technology Working Group).
It gives a format to the plain text to provide it a proper structure. The HTML files are stored in the memory with .html or .htm extension.
It uses various tags to display the content on web pages. These tags are predefined in the HTML and cannot be modified. Examples of these tags are: <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <br>, <p>, etc.
HTML along with CSS (Cascading Style Sheets), which is a Style Sheet Language maintained by W3C, modifies and makes the website look better. CSS includes content in HTML that help in making the web page look rich and better.
Table of Contents