Home  >  Article  >  Web Front-end  >  Is javascript a markup language?

Is javascript a markup language?

藏色散人
藏色散人Original
2021-11-03 15:17:011642browse

Javascript is not a markup language, it is a lightweight, interpreted or just-in-time compiled programming language with function priority; and markup language is a way to combine text and other text-related information to display A computer text encoding of document structure and data processing details, such as Hypertext Markup Language "HTML".

Is javascript a markup language?

The operating environment of this article: windows7 system, javascript version 1.8.5, Dell G3 computer.

Is javascript a markup language?

Javascript is not a markup language.

JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative, declarative, and functional programming paradigm.

JavaScript was first designed and implemented on the Netscape Navigator browser in 1995 by Brendan Eich of Netscape. Because Netscape was working with Sun, Netscape management wanted it to look like Java, hence the name JavaScript. But in fact its grammatical style is closer to Self and Scheme.

The standard for JavaScript is ECMAScript. As of 2012, all browsers fully support ECMAScript 5.1, and older browsers support at least the ECMAScript 3 standard. On June 17, 2015, ECMA International released the sixth edition of ECMAScript, which is officially called ECMAScript 2015, but is usually called ECMAScript 6 or ES2015.

Introduction to markup language:

Markup language is a computer text that combines text and other information related to the text to show the details of the document structure and data processing. coding. Other information related to the text (including the structure and presentation information of the text, etc.) is combined with the original text but identified using markers.

A markup language is more than just a language, like many languages ​​it requires a runtime environment to make it useful. The element that provides the runtime environment is called the user agent.

Markup languages ​​can generally be divided into three categories: identification, procedural and descriptive.

Common:

Hypertext Markup Language

Hypertext Markup Language (an application under Standard Universal Markup Language, foreign language abbreviation: HTML) is a language for creating web pages and other A markup language for the design of information that can be viewed in a web browser.

[Recommended learning: javascript basic tutorial]

The above is the detailed content of Is javascript a markup language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn