导航:首页 > 源码编译 > 跑路单页源码

跑路单页源码

发布时间:2023-07-04 20:51:51

❶ 求一个最简单的相对路径的单页ASP生成HTML源码

把下面的代码存为html.asp,代码中相关按自己要求修改,1.htm和1.asp<%

filename="1.htm"

ifrequest("body")<>""then

Setfso=Server.CreateObject("Scripting.FileSystemObject")

Setfout=fso.CreateTextFile(server.mappath(""&filename&""))

fout.Writerequest("body")

fout.close

setfout=nothing

setfso=nothing

mskrindex="ok"

endif

%>

<scriptlanguage="Javascript">

<!--hide

functioninsertsmilie(smilieface){document.frmAnnounce.body.value+=smilieface;}

//-->

</script>

<html>

<head>

<metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/>

<title>生成html<铅数/title>

</head>

<body>

<%ifmskrindex="ok"then%>

<p></p>

<tableborder="0"cellspacing="0"width="80%"cellpadding="5">

<tr>

<tdalign="center">

<fontcolor="red">√念穗</font><%=Now()%>生成成功,点击浏览<atarget="_blank"href="<%=filename%>"><%=filename%></a>

</td>

</tr>

</table>

<%else%>

<tablewidth="95%"border="0"cellspacing="0"cellpadding="2">

<tr>

<formname="frmAnnounce"method="post"action="html.asp">

<td>

<fontcolor="red"><b>生成</b>(生成文件为:<%=filename%>)</font>

</td>

</tr>

</table>

<tablewidth="100%"border="0"align="center"cellpadding="2"cellspacing="0"height="90%">

<tr>

<td>仔激卜

<textareastyle="width:98%;height:90%;"name="body"><!--includefile="1.asp"--></textarea>

<inputtype="submit"name="Submit"value="生成">

</td>

</form>

</tr>

</table>

<%

endif

%>

</body>

</html>

❷ 求一个单页网站源码!要纯静态的!越简单越好,

纯静态、简单得不能再简单,请Ctrl+C:

<html>
<title>单页网站源码</title>
<body>这是一个单页网站源码</body>
</html>

❸ html 使用表格和表单创建如下图所示的表单页面。求源代码

<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/>
<title>产品订购</title>
</head>

<body><formaction="#"method="post">
<tablewidth="1000"border="1">
<tr>
<thcolspan="4">产品订购</th>
颤猛慧</tr>
<tr>
<tdstyle="text-align:right">姓名:</td>
<td><inputtype="text"name="consumer"/></td>
<td>商品名称:</td>
<td><inputtype="text"name="goods_name"/></td>
</tr>
<tr>
<tdstyle="text-align:right">地区:</td>
<td>
<selectname="address">
<optionvalue="guangzhou">广州</option>
<optionvalue="beijing">北京</option>
<optionvalue="shanghai">上海</option>
</select>
</td>
<td>付款方式:</td>
<td>
<inputtype="radio"name="pay"value="network"/>网上
<inputtype="radio"name="pay"value="mail"/>邮局
<inputtype="radio"name="pay"value="bank"/>银行
</td>
</tr>
<tr>
<tdstyle="text-align:right">关注产品:</td>
<tdcolspan="3"知知>
<inputtype="checkbox"name="hufu"checked="checked"/>护肤品
<inputtype="checkbox"name="huazhuang"/>化妆品
<inputtype="checkbox"name="fuzhuang"checked="checked"/>服装
<inputtype="checkbox"name="dianqi"/>电器
</td>
</tr>
<tr>
<tdstyle="text-align:right">联系电话:</td>
<tdcolspan="3"><inputtype="text"name="phone"/></td>
</tr>
<tr>
<tdstyle="text-align:right">备注:</td>
茄答<tdcolspan="3">
<textareaname="comment"rows="10"cols="80"></textarea>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<tdcolspan="3">
<inputtype="submit"value="提交"/>
<inputtype="reset"value="重置"/>
</td>
</tr>
</table>
</form>
</body>
</html>

可否满意?

阅读全文

与跑路单页源码相关的资料

热点内容
计算机教程pdf 浏览:703
桌面文件夹变成文字 浏览:849
dell服务器前面板如何拆 浏览:765
云顶之巅服务器什么时候关闭 浏览:947
安卓qq邮箱怎么搞 浏览:755
大疆御pro安卓手机用什么软件 浏览:339
plc每日产量统计编程实例 浏览:241
怎么证明一个人不是真正程序员 浏览:571
视频怎么加密课程 浏览:565
5x的解压密码 浏览:480
如何创建tomcat80服务器 浏览:389
一个真正隐世的程序员 浏览:822
饥荒联机为什么开不了服务器 浏览:28
程序员的甜品制作方法 浏览:200
找几本关于程序员职场的小说 浏览:356
拼多多app这是怎么回事 浏览:811
程序员那么可爱小说作者 浏览:204
pdf文件打不开怎么办 浏览:607
数字化校园系统源码 浏览:194
androidxml虚线 浏览:861