Chạy ❯
Nhận trang web của
riêng
bạn
×
Thay đổi định hướng
Lưu mã
Thay đổi chủ đề, Tối/Sáng
Đi tới Không gian
<!DOCTYPE html> <html> <title>W3.JS</title> <script src="https://www.example.com.vn/lib/w3.js"></script> <script> var myObject= {"customers":[ {"CustomerName":Alfreds Futterkiste","Thành phố":Berlin","Quốc gia":Đức"}, {"CustomerName":Ana Trujillo Emparedados y helados","Thành phố": "M�xico DF","Quốc gia":"Mexico"}, {"CustomerName:"Antonio Moreno Taquer�a","Thành phố":"M�xico DF","Quốc gia":"Mexico"}, { "CustomerName:"Around the Horn","City:"London","Quốc gia:"Anh"}, {"CustomerName:"B's Beverages","Thành phố:London","Quốc gia:" UK"}, {"CustomerName":"Berglunds snabbk�p","Thành phố": Lule�","Quốc gia":Thụy Điển"}, {"CustomerName:"Blauer See Delikatessen","Thành phố": Mannheim","Quốc gia":Đức"}, {"CustomerName":Blondel p�re et fils","Thành phố": Strasbourg","Quốc gia":Pháp"}, {"Tên khách hàng:"B �lido Comidas preparadas","Thành phố"Madrid","Quốc gia":Tây Ban Nha"}, {"CustomerName:"Bon app'","Thành phố":Marseille","Quốc gia":Pháp"} , {"CustomerName":Bottom-Dollar Marketse","City":"Tsawassen","Quốc gia":"Canada"}, {"CustomerName":"Cactus Comidas para llevar","City:"Buenos Aires" ,"Quốc gia":Argentina"}, {"CustomerName":Trung tâm thương mại Moctezuma","Thành phố":"M�xico DF","Quốc gia":Mexico"}, {"CustomerName:"Chop-suey Tiếng Trung","Thành phố":Bern","Quốc gia":Thụy Sĩ"}, {"CustomerName:"Com�rcio Mineiro","Thành phố":S�o Paulo","Quốc gia":Brazil" } ]}; </script> <body> <table id="id01"> <tr> <th>Khách hàng</th> <th>Thành phố</th> <th>Quốc gia</th> </tr> <tr w3- lặp lại="khách hàng"> <td>{{Tên khách hàng}</td> <td>{{Thành phố}</td> <td>{{Quốc gia}</td> </tr> </table> <script> w3.displayObject("id01", myObject); </script> </body> </html>