⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 11-9.txt

📁 jsp常用实例讲解
💻 TXT
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>请 留 言</title>
</head>
<script language="JavaScript">
function nocontent(){
	if(document.form1.content.value==""){
		alert("请输入留言内容!");
		document.form1.content.focus();
		return false;
	}
}
</script>
<body bgcolor="#99CCFF">

<center><b><font face="隶书" size="5" color="#FFFF00">请 留 言</font></b></center>
<hr>
<form method="POST" name=form1 action="do_write.jsp" onSubmit="return nocontent();">
  <div align="center">
    <center>
    <table border="1" width="400">
      <tr>
        <td width="100%"><font color="#FF00FF">留言人:</font><input type="text" name="name"></td>
      </tr>
      <tr>
        <td width="100%"><font color="#FF00FF">表情:<input type="radio" value="weixiao" checked name="R1"><img border="0" src="images/weixiao%20.gif" width="20" height="20">&nbsp; 
          <input type="radio" name="emote" value="wenti"><img border="0" src="images/wenti%20%20%20.gif" width="15" height="22">&nbsp; 
          <input type="radio" name="emote" value="qishi"><img border="0" src="images/qishi%20%20%20.gif" width="18" height="18">&nbsp; 
          <input type="radio" name="emote" value="jinggao"><img border="0" src="images/jinggao%20.gif" width="18" height="18">&nbsp; 
          <input type="radio" name="emote" value="zancheng"><img border="0" src="images/zancheng.gif" width="15" height="15">&nbsp; 
          <input type="radio" name="emote" value="fandui"><img border="0" src="images/fandui%20%20.gif" width="15" height="15">&nbsp; 
          <input type="radio" name="emote" value="fennu"><img border="0" src="images/fennu%20%20%20.gif" width="20" height="20"> 
          </font></td>
      </tr>
      <tr>
        <td width="100%"><font color="#FF00FF">留言:</font></td>
      </tr>
      <tr>
        <td width="100%"><textarea rows="6" name="content" cols="53"></textarea></td>
      </tr>
    </table>
    </center>
  </div>
  <p align="center"><input type="submit" value="留言" name="B1">&nbsp;&nbsp;&nbsp; 
  <input type="reset" value="重写" name="B2"></p>
</form>

</body>
</html>

⌨️ 快捷键说明

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