<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>编程狮(w3cschool.cn)</title>
<link rel="stylesheet" href="https://7npmedia.w3cschool.cn/w3.css">
<script src="https://7npmedia.w3cschool.cn/w3.js"></script>
<script>
var myObject= {"customers":[
{"CustomerName" : "王小明","City" : "厦门","province" : "福建省"},
{"CustomerName" : "霍元甲","City" : "静海","province" : "天津市"},
{"CustomerName" : "李小龙","City" : "佛山","province" : "广东省"},
{"CustomerName" : "周星驰","City" : "浙江","province" : "中国香港"},
{"CustomerName" : "周杰伦","City" : "泉州","province" : "中国台湾"},
{"CustomerName" : "胡歌","City" : "徐汇区","province" : "上海市"},
]};
</script>
<body class="w3-container">
<h2>测试 CSS 中的 W3.JS</h2>
<ul id="id01" class="w3-ul w3-blue">
<li w3-repeat="customers">{{City}}</li>
</ul>
<script>
w3.displayObject("id01", myObject);
</script>
</body>
</html>