


A brief discussion on the background of WEB page tool language XML (1)
1. Background of XML generation
XML, like HTML, comes from Standard Generalized Markup Language, or SGML for short. SGML existed long before the Web was invented. As its name suggests, SGML is a universal language that uses markup to describe document information. It contains a series of document type definitions (referred to as DTD). DTD
1. Generated by XML background
XML, like HTML, comes from Standard Generalized Markup Language, or SGML for short. SGML existed long before the Web was invented. As its name suggests, SGML is a universal language that uses tags to describe document materials. It contains a series of document type definitions (DTDs for short). The meaning of tags is defined in the DTD, so the syntax of SGML is extensible. of. SGML is very large, neither easy to learn nor easy to use, and it is also very difficult to implement on a computer. In view of these factors, researchers at CERN, the inventor of the Web, proposed the HTML language based on the capabilities of computer technology at the time (1989).
HTML only uses a small part of the tags in SGML. For example, HTML 3.2 defines 70 tags. In order to facilitate implementation on a computer, the tags specified by HTML are fixed, that is, the HTML syntax is not extensible, and it does not need to contain a DTD. The fixed syntax of HTML makes it easy to learn and use, and it is also very easy to develop an HTML browser on a computer. It is precisely because of the simplicity of HTML that Web technology has moved from the computer world to the whole society and to thousands of households. The development of the Web is booming.
In recent years, as the application of the Web becomes more and more extensive and in-depth, people gradually feel that HTML is not enough. The overly simple syntax of HTML seriously hinders the use of it to express complex forms. Although HTML has launched new versions one after another, and already has expression functions such as scripts, tables, frames, etc., it has never been able to meet the growing demand. On the other hand, computer technology has developed very rapidly in recent years, and it has been possible to implement a web browser that is much more complex than when HTML was originally invented. Therefore, it is both necessary and possible to develop a new web page language.
Some people suggest using SGML directly as the Web language, which can certainly solve the difficulties encountered by HTML. However, SGML is too large and inconvenient for users to learn and use. It is very difficult to fully implement SGML in a browser, so it is natural to think of using only a subset of SGML to make the new language both convenient to use and easy to implement. It was under this situation that the Web standardization organization W3C recommended the use of a streamlined version of SGML - XML came into being.
The above is the detailed content of A brief discussion on the background of WEB page tool language XML (1). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Can XML files be opened with PPT? XML, Extensible Markup Language (Extensible Markup Language), is a universal markup language that is widely used in data exchange and data storage. Compared with HTML, XML is more flexible and can define its own tags and data structures, making the storage and exchange of data more convenient and unified. PPT, or PowerPoint, is a software developed by Microsoft for creating presentations. It provides a comprehensive way of

Convert XML data in Python to CSV format XML (ExtensibleMarkupLanguage) is an extensible markup language commonly used for data storage and transmission. CSV (CommaSeparatedValues) is a comma-delimited text file format commonly used for data import and export. When processing data, sometimes it is necessary to convert XML data to CSV format for easy analysis and processing. Python is a powerful

How to handle XML and JSON data formats in C# development requires specific code examples. In modern software development, XML and JSON are two widely used data formats. XML (Extensible Markup Language) is a markup language used to store and transmit data, while JSON (JavaScript Object Notation) is a lightweight data exchange format. In C# development, we often need to process and operate XML and JSON data. This article will focus on how to use C# to process these two data formats, and attach

Using Python to implement data validation in XML Introduction: In real life, we often deal with a variety of data, among which XML (Extensible Markup Language) is a commonly used data format. XML has good readability and scalability, and is widely used in various fields, such as data exchange, configuration files, etc. When processing XML data, we often need to verify the data to ensure the integrity and correctness of the data. This article will introduce how to use Python to implement data verification in XML and give the corresponding

Jackson is a Java-based library that is useful for converting Java objects to JSON and JSON to Java objects. JacksonAPI is faster than other APIs, requires less memory area, and is suitable for large objects. We use the writeValueAsString() method of the XmlMapper class to convert the POJO to XML format, and the corresponding POJO instance needs to be passed as a parameter to this method. Syntax publicStringwriteValueAsString(Objectvalue)throwsJsonProcessingExceptionExampleimp

PHP belongs to the backend in web development. PHP is a server-side scripting language, mainly used to process server-side logic and generate dynamic web content. Compared with front-end technology, PHP is more used for back-end operations such as interacting with databases, processing user requests, and generating page content. Next, specific code examples will be used to illustrate the application of PHP in back-end development. First, let's look at a simple PHP code example for connecting to a database and querying data:

Cockpit is a web-based graphical interface for Linux servers. It is mainly intended to make managing Linux servers easier for new/expert users. In this article, we will discuss Cockpit access modes and how to switch administrative access to Cockpit from CockpitWebUI. Content Topics: Cockpit Entry Modes Finding the Current Cockpit Access Mode Enable Administrative Access for Cockpit from CockpitWebUI Disabling Administrative Access for Cockpit from CockpitWebUI Conclusion Cockpit Entry Modes The cockpit has two access modes: Restricted Access: This is the default for the cockpit access mode. In this access mode you cannot access the web user from the cockpit

Web standards are a set of specifications and guidelines developed by W3C and other related organizations. It includes standardization of HTML, CSS, JavaScript, DOM, Web accessibility and performance optimization. By following these standards, the compatibility of pages can be improved. , accessibility, maintainability and performance. The goal of web standards is to enable web content to be displayed and interacted consistently on different platforms, browsers and devices, providing better user experience and development efficiency.
