What does xmlns mean?

Source: Internet
Author: User

We often encounter a webpage like <HTML xmlns = "http://www.w3.org/2001/xhtml">Code,

Or you can see in the main. XML in Android encoding, as shown in <linearlayout xmlns: Android = "http://schemas.android.com/apk/res/android"

 

What does xmlns mean?

Official concept:Xmlns is the abbreviation of XML namespace, that is, XML namespace. The xmlns attribute can be used to define one or more available namespaces in the document. This attribute can be placed in the start tag of any element in the document. The value of this attribute is similar to a URL, which defines a namespace. the browser will use this namespace for all content in the element where the property is located.

 

The network address used to identify the namespace is not called by the XML parser. The XML parser does not need to find information from this network address, the network address is used only to give the namespace a unique name, so the network address can also be virtual.

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.