测试
来源:互联网 发布:淘宝卖家论坛软件 编辑:程序博客网 时间:2024/06/05 19:27
<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"> protected void Page_Load(object sender, EventArgs e) { Page.MetaKeywords = "孟子E章"; Page.MetaDescription = "http://dotnet.aspx.cc"; }</script><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1"> 请输入关键字:<input id="keywords" /><br /> 请输入其描述:<input id="description" /><br /> <input type="button" value="得到输入的关键字" onclick="alert(document.getElementById('keywords').value)" /> <input type="button" value="得到输入的描述" onclick="alert(document.getElementById('description').value)" /> </form></body></html>