11.11 警告框alert

11.10

警告框alert

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script>
function myFunction(){
    alert("你好,我是一个警告框!");
}
</script>
</head>
<body>

<input type="button" onclick="myFunction()" value="显示警告框" />

</body>
</html>

 

posted @ 2020-11-11 15:59  不会编程的肉蛋葱鸡  阅读(104)  评论(0)    收藏  举报