What is HTML, XML, and XHTML

Source: Internet
Author: User
Tags basic html page

(1) XML

XML is shorthand for the extensible Markup Language (extensible Identity language). The current recommendation is to follow the XML1.0, published on October 6, 2000, for Reference (www.w3.org/TR/2000/REC-XML-20001006). Like HTML, XML is also derived from SGML, but XML is a language that can define other languages. XML was originally designed to compensate for the lack of HTML, with strong extensibility to meet the needs of network information dissemination, and then gradually used to transform and describe the network data. About the benefits of XML and technical specifications details here is not much to say, there is a lot of information on the Internet, there are many books can be consulted.

(2) XHTML

XHTML is an abbreviation for the extensible Hypertext Markup Language Extensible Identity language. It is recommended to follow the XML1.0 recommended on January 26, 2000 (refer to HTTP://WWW.W3.ORG/TR/XHTML1). XML is a powerful alternative to HTML, but it is premature to use XML directly in the face of thousands of existing sites. Therefore, based on HTML4.0, we extend it with XML rules and get XHTML. Simply put, the goal of XHTML is to make HTML transition to XML.

(3). Html
First of all, HTML is not a short name for how-to. Hey
Hypertext Markup Language, Chinese is hypertext Link Markup Language. HTML (Hypertextmark-uplanguage) is the Hypertext Markup Language, which is the description language of www. The purpose of the HTML language is to make it easy to connect text or graphics stored on one computer with text or graphics from another computer to form an organic whole, regardless of whether the specific information is on the current computer or on other computers in the network. We just use the mouse to pick an icon in a document, and the Internet immediately goes to the content associated with that icon, which may be stored on another computer in the network. HTML text is a descriptive text made up of HTML commands that describe text, graphics, animations, sounds, tables, links, and so on. The structure of the HTML consists of the head (head) and the body (body), where the head describes the information required by the browser, while the body contains the specific content to be described.
In addition, HTML is the universal language of the network, a simple, universal, all-in-one markup language. It allows web-makers to create complex pages of text and images that can be browsed by anyone else on the web, regardless of the type of computer or browser used. Is it magical? It's not magical at all, because now what you see is the page written in this language. haha.

You may have heard of a lot of software that can edit Web pages, in fact, you don't need any special software to create HTML pages; All you need is a word processor (such as Mcrosoftword\ Notepad, WordPad, and so on) and working knowledge of HTML. In fact, you will soon find that the underlying HTML language is simply dead.

HTML is simply a series of labels that combine into a single text file. They are the conductor of the orchestra, telling musicians where to pause and where to be passionate.

HTML tags are usually full names of English words (such as block references: BLOCKQUOTE) or abbreviations (such as "P" for Paragragh), but they differ from the general text because they are placed in a single title number. So the Paragragh tag is <p> The block reference tag is <blockquote>. Some labels explain how the page is formatted (for example, <p> starts a new paragraph), and others show how the words appear (<b> make the text thicker) and some other labels that provide information that is not displayed on the page-for example, headings.

What you need to remember about labels is that they appear in pairs. Whenever a label is used-such as &LT;BLOCKQUOTE&GT, it must be closed with another label </blockquote>. Note the slash before "blockquote", which is the difference between closing the label and opening it.

The basic HTML page starts with the
Title word--sandwiched between
So let's build a simple example, it's very easy. The first step, of course, is to create a new text file (remember, if you are using a more complex word processor, you should use "plain text" or "plain text" to save it) and name it "xxxx.html". (whatever name you have, but remember, use English)

Then you can use the browser to open it, you will see the simplest of the pages you make.

What is HTML, XML, and XHTML

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.