導航:首頁 > 源碼編譯 > 跑路單頁源碼

跑路單頁源碼

發布時間: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>

可否滿意?

閱讀全文

與跑路單頁源碼相關的資料

熱點內容
查看伺服器外網訪問地址 瀏覽:854
魔獸爭霸地圖最新加密 瀏覽:682
暢捷雲APP怎麼l發票 瀏覽:209
黑馬程序員與傳智播客 瀏覽:517
geany不能編譯中文嗎 瀏覽:521
和平精英怎麼開啟新伺服器 瀏覽:539
單片機的典型應用 瀏覽:376
vivo手機怎麼對qq進行加密 瀏覽:609
gcc編譯器的鏈接腳本 瀏覽:576
伺服器p01是什麼 瀏覽:909
程序員當保鏢視頻 瀏覽:343
有用友加密狗怎麼下載對應的版本 瀏覽:384
高級語言程序必須經過編譯嗎 瀏覽:53
ce54重新編譯 瀏覽:879
蘋果x手機的app如何加密 瀏覽:475
伺服器如何安裝麒麟 瀏覽:856
單片機控制p1口 瀏覽:701
python子線程通知主線程 瀏覽:923
xp系統網卡驅動哪個文件夾 瀏覽:166
電信網路中心伺服器地址是什麼 瀏覽:109