JavaScript Reference/Javascript Properties/scheme

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

"scheme" Example

    
<html>
<head>
<meta id="myM1" name="date" content="10-25-2003">
<meta id="myM2" name="date" content="25-10-2003">
<script language="JavaScript">
    document.all.myM1.scheme = "USA";
    document.all.myM2.scheme = "Europe";
</script>
</head>
<body>
</body>
</html>



"scheme" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<meta>                                                        |
+----------------+--------------------------------------------------------------+



"scheme" Syntax and Note

Note:
Read and write property. 
Set a value for a <meta> element.
    
Syntax:
    
document.getElementById("metaID").scheme = value
document.all.metaID.scheme = value // IE only