Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What's the difference between HTML and XML?


May 28, 2021 Article blog


Table of contents


There are a lot of students who can't tell the difference between HTML and XML, so what's the difference between this article w3cschool to introduce you to HTML and XML?

overview

HTML is a hypertext markup language that is the key to the world of web technology. HTML uses tag tags to describe a Web page, and its documentation contains HTML tags and text content, and HTML documents are also called web pages.

XML is an extensible markup language used to create Web pages and web applications. XML is dynamic and can be used to transfer data.

distinguish

  • The language types are different. HTML is a hypertext markup language, while XML is a scalable markup language.
  • The functional state is different. HTML is used to display data, it is static, and XML is used to transfer data, it is dynamic.
  • Case sensitive. Case insensitive in HTML, and case sensitivity is required in XML.
  • The number of labels. HTML tags are limited, and XML tags are scalable.
  • The end tag. An end tag is not required in HTML, and an end tag is required in XML.
  • predefine. There are predefined tags in HTML, and user-defined tags in XML.

That's all there is to what makes HTML and XML different. For more HTML and XML learning follow the w3cschool website.