<html>
<head>
<meta charset="utf-8" />
<title>第一次js</title>
<!--<link rel="stylesheet" type="text/css" href="css/yu.css" />-->
<!--<style>
P
font: "微软雅黑";
font-size: 40px;
color: saddlebrown;
}
</style>-->
</head>
<body>
<!--<p style="font-size: 410px;color: saddlebrown;" >是</p>-->
<!--外部js链接写法-->
<script src="js/df.js">
// 游览器弹窗脚本alert("内容")
// alert("你是一个大sb");
// alert("今天星期三困");
// alert(1+1); //2
// alert("1+1") //1+1 字符
// 在游览器控制台输出语句
// console.log("皇家后宫")
// 在文档中输出
// document.write("后宫佳丽三千万");
// document.write("<p style='font-size: 40px; color: saddlebrown;'>s阿斯蒂芬</p>")
// document.write("<p style='font-size: 50px; color: skyblue; '>加上个发你</p>")
</script>
</body>
</html>````
2021-08-25
最新推荐文章于 2024-08-04 11:07:52 发布