tryit_view.asp@filename=tryjs_alert2

来自「W3Schools tutorial..web designing」· ASP@FILENAME=TRYJS_ALERT2 代码 · 共 16 行

ASP@FILENAME=TRYJS_ALERT2
16
字号
<html>
<head>
<script type="text/javascript">
function disp_alert()
{
alert("Hello again! This is how we" + '\n' + "add line breaks to an alert box!");
}
</script>
</head>
<body>

<input type="button" onclick="disp_alert()" value="Display alert box" />

</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?