xmlns 属性 -- 代表文档的命名空间
- 此属性代表文档的命名空间
xmlns
是XML NameSpace的缩写
示例
定义文档的命名空间为http://www.w3.org/1999/xhtml
<html
xmlns
=
"http://www.w3.org/1999/xhtml"
xml:lang
=
"en"
>