引號(hào)里面都是什么意思 大神們
<form ? ?method="post" ? action="save.php">
? ? ? ?<label for="username">用戶名:</label>
? ? ? ?<input type="text" name="username" />
? ? ? ?<label for="pass">密碼:</label>
? ? ? ?<input type="password" name="pass" />
</form>
<form ? ?method="post" ? action="save.php">
? ? ? ?<label for="username">用戶名:</label>
? ? ? ?<input type="text" name="username" />
? ? ? ?<label for="pass">密碼:</label>
? ? ? ?<input type="password" name="pass" />
</form>
舉報(bào)
2016-07-28
<form method="傳送方式" action="服務(wù)器文件">
2016-07-28
各種屬性
2016-07-28
各種屬性
2016-07-28
屬性值
2016-07-28
action?:瀏覽者輸入的數(shù)據(jù)被傳送到的地方,比如一個(gè)PHP頁(yè)面(save.php)。
method?:?數(shù)據(jù)傳送的方式(get/post)。
post/get的區(qū)別這一部分內(nèi)容屬于后端程序員考慮的問(wèn)題
而?<label for="username">用戶名:</label>
? ? ? ?<input type="text" name="username" /> ? ?username隨便起但是要和下面的 name = ""引號(hào)里面一致,
實(shí)現(xiàn)的功能就是 游戲 后面一個(gè)小框,你點(diǎn)小框會(huì)顯示一個(gè)勾,你不點(diǎn)小框,點(diǎn)游泳者兩個(gè)字后面的小框中也會(huì)有一個(gè)勾。
??
2016-07-28
method="post",post代表的是這個(gè)表單元素將表單數(shù)據(jù)發(fā)送到服務(wù)器的方法,即密文傳送。
<label for="username">的<label>屬性是為了提供關(guān)聯(lián),便于用戶操作,其中的username要與所需要關(guān)聯(lián)的操作id一致
2016-07-28
我也剛學(xué)(*^__^*) 嘻嘻……
1、<form ??method="傳送方式" ??action="服務(wù)器文件">/*此處傳值方式是post,服務(wù)器文件save.php*//
2、lable標(biāo)簽里for定義標(biāo)簽名
3、<input type="text(password)"> ? /*輸入框?yàn)槲谋荆艽a)輸入框*/,自然,name是文本框名字的意思
2016-07-28
用戶名:
密碼:
2016-07-28
一個(gè)帳號(hào)密碼的輸入的程序
2016-07-28
是一些屬性