阿摩線上測驗
登入
首頁
>
程式設計
>
104年 - 104年高等三級暨普通考普通_資訊處理#28869
> 申論題
申論題
試卷:104年 - 104年高等三級暨普通考普通_資訊處理#28869
科目:程式設計
年份:104年
排序:0
申論題資訊
試卷:
104年 - 104年高等三級暨普通考普通_資訊處理#28869
科目:
程式設計
年份:
104年
排序:
0
申論題內容
五、如下的 HTML 程式執行後,執行頁面為何?請以圖示解釋執行結果。又當按下
"Submit"動作按鈕後,會將帳號、密碼等資料,以不透過 URL 的方式,傳送給
login.php 程式來處理,請問應於表單標記中加入那些屬性,及相對應的資料值。
(15 分)
<html>
<head> <title> Log in </title> </head>
<body>
<center><h1><strong>網際網路應用</strong></h1></center>
<hr />
<form id="Login" name="Login">
<p> <label for="account"> Account </label>
<input name="account" type="text" id="account" /> </p>
<p> <label for="Password"> Password </label>
<input name="Password" type="password" id="Password" /> </p>
<p> <input type="reset" name="Reset" id="Reset" value="Reset" />
<input type="submit" name="Submit" id="Submit" value="Submit" />
</p>
</form>
</body>
</html>
詳解 (共 3 筆)
詳解
提供者:kmlu1111
(一)
(二)<form id="Login" name="Login" action="login.php" method="post">
詳解
提供者:JayJay Huang
action
詳解
提供者:moerstw
(1)執行結果會把account 跟 Password 傳給reset 或submit (2)在reset 跟subimit 表單加入,get就不會在url產生#傳遞值