HTML CSS Reference/HTML Attributes Reference/xmlns

Материал из Web эксперт
Перейти к: навигация, поиск

"xmlns" Example

    
<html xmlns:t ="urn:schemas-microsoft-com:time">
<?import namespace="t" implementation="#default#time2">
<head>
<style>
.time { 
   behavior: url(#default#time2); 
}
</style>
</head>
<body>
</body>
</html>



xmlns is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<html>                                                        |
+----------------+--------------------------------------------------------------+



"xmlns" Syntax and Note

Note:
    
This attribute declares a namespace for creating unique custom tags in the HTML 
document. 
For multiple namespaces, repeat the xmlns declaration for each additional one, 
separate each declaration with a space.
    
Syntax:
    
<html xmlns:value> . . . </html>