In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what is the difference between xml and javascript". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the difference between xml and javascript".
Differences: 1, XML is a markup language, while JavaScript is a programming language (scripting language); 2, XML is used to describe and store data, while JavaScript is often used to add a variety of dynamic functions to the web page to provide users with a more smooth and beautiful browsing effect.
The operating environment of this tutorial: windows7 system, javascript1.8.5 version, Dell G3 computer.
Introduction to xml
XML refers to Extensible markup language (eXtensible Markup Language), which is a markup language for tagging electronic documents to make them structural.
XML is similar to HTML. Both XML and HTML contain markup symbols that describe the contents of a page or file. However, HTML only describes how the content of a web page (mainly text and graphics) is displayed and interacted. For example, the letter "p" placed inside the tag starts a new paragraph.
XML describes the content based on the data described. For example, the word "phonenum" placed inside the tag tag can indicate that the data that follows is a phone number. XML files can be completely processed as data by the program, can be stored with similar data on other computers, or can be displayed like HTML files. For example, depending on how the application on the receiving computer handles the phone number, it can be stored, displayed, or dialed.
Introduction to javascript
JavaScript (JS for short) is a lightweight, interpretive or just-in-time programming language with function priority. Although it is known as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, multi-paradigm dynamic scripting language, and supports object-oriented, imperative, and declarative (such as functional programming) styles.
JavaScript is a programming language that runs on web browsers. It is mainly added to sites built using HTML and CSS, and plays a role in achieving various page dynamics.
The difference between xml and javascript
XML is a markup language for tagging electronic documents to make them structural, while JavaScript is a lightweight, interpretive or just-in-time programming language with function priority.
Xml is used to describe data, store data, and describe the content according to the data described.
JavaScript is often used to add a variety of dynamic functions to web pages to provide users with a more smooth and beautiful browsing effect.
Thank you for your reading, the above is the content of "what is the difference between xml and javascript". After the study of this article, I believe you have a deeper understanding of the difference between xml and javascript, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.