<!DOCTYPE html>
<html>
<head>
<title>js2.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<!-- with 语句 的使用-->
<script type = "text/javascript">
with(document){
write("<ol>");
write("<li>hello</li>");
write("<li>hello2</li>");
write("<li>hello3</li>");
write("</ol>");
}
</script>
</body>
</html>
with语句的使用
最新推荐文章于 2021-06-17 01:04:12 发布