Well after the DOCTYPE declaration, the following code:
<html xmlns=”http://www.w3.org/1999/xhtml” lang=”gb2312″>
The code is usually HTML4.0 <html>, where the “ xmlns “What is it?
The “xmlns” is short for XHTML namespace, called the “namespace” statement. Name space is effect? Acha understanding is:
Xml allows you to define yourself as your own logo, you define the definition of identity and the identity of other people may be the same, but that a different meaning. When the file when the exchange or sharing prone to error. To avoid this error, XML with namespace declaration points to a web site allows you to identify your identity. For example:
Wang and Li are defined an <book> logo, if Wang’s name space is “http://www.xiaowang.com”, Mike’s name space is “http://www.xiaoli.com” , then when the two document exchange data, it will not confuse <book> logo, because it belongs to a different namespace.
More popular explanation is: the name space is to give the document to make a mark, to tell people that this document belongs to whom. But the “who” used a Web site instead.
XHTML is HTML the transition to the XML markup language, XML documents it needs to comply with the rules and, therefore, need to define the name space. And because XHTML1.0 not custom logo, so it’s the same name space, that is, “http://www.w3.org/1999/xhtml”. If you still do not understand it does not matter at this stage we just copied the code on it.
Behind the lang = “gb2312″, specify your documents in Simplified Chinese.
===============================================================Related posts:
- The first day : the choice of what kind of DOCTYPE Preface Hello everybody! This series of articles is written W3CN...
- The third Day : definition language code The third step is to define your language code: <meta...
- how to apply the standards to improve the existing WEB site? Most of our designers are still using the traditional form...
- To achieve More div arranged Center To achieve More div arranged Center <?xml version=”1.0″ encoding=”iso-8859-1″?> <!DOCTYPE...
- Three rows and three column of highly adaptive DIV layout Three rows and three column of highly adaptive DIV layout...
Related posts brought to you by Yet Another Related Posts Plugin.

