<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HelloWorld.aspx.cs" Inherits="HelloWorld" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<script type="text/javascript">
document.write("HelloWorld!");//输出HelloWorld!
alert(new Date().toLocalDateString());
</script>
<script type="text/javascript">
alert("第二个提示框,head中可以写多个Script标记");
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<script type="text/javascript">
alert("body中也可以写入
Js_HelloWorld
最新推荐文章于 2023-03-01 23:39:53 发布