Bài học
Lưu code
Refresh
Xoay
Xem kết quả
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ví dụ HTML</title> </head> <body > <div style="margin:30px"> <script> var emp=new Array("Mì","Tôm","Thịt"); for (i=0;i<emp.length;i++){ document.write(emp[i] + "<br>"); } </script> </div> </body> </html>