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

跑路单页源码

发布时间: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>

可否满意?

阅读全文

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

热点内容
为什么叫我买阿里云服务器 浏览:470
加密货币征税一览表 浏览:959
llc编译器 浏览:922
数控可编程电阻器 浏览:757
培训app源码 浏览:431
phpcurl启用 浏览:533
ubuntu图形编程 浏览:439
jar包启动命令 浏览:678
java数组一维转二维 浏览:498
office批量转pdf 浏览:183
boss直聘程序员多少薪 浏览:631
编程字母代表什么 浏览:952
rainmc服务器地址 浏览:456
电信校园网客户端认证服务器地址 浏览:449
掌阅怎么看文件夹 浏览:343
在伴伴app里面怎么拜师傅 浏览:945
编程珠玑笔记 浏览:282
结束命令行 浏览:270
力学原理pdf 浏览:737
宏定义编译后不变 浏览:405