

































2/2/w/1240)































9.10上課內(nèi)容
第一:回顧web標(biāo)準(zhǔn):結(jié)構(gòu),樣式,行為
第二:表格的屬性的講解和復(fù)習(xí)
第三:簡(jiǎn)單的表單及相關(guān)的控件
表格的屬性復(fù)習(xí):http://www.w3school.com.cn/html/html_tables.asp
表單講解:http://www.itdecent.cn/p/711c2c3386be
9.12上課內(nèi)容
input 控件
<html>
<head>
<title>我的第一個(gè) HTML 頁面</title>
</head>
<body>
<--!簡(jiǎn)單的輸入框--><br />
賬號(hào):<input /><br />
密碼:<input type = "text" />
<br />
<--!密碼框--><br />
密碼:<input type = "password"/>
<br />
<--!單選框--><br />
性別:<input type = "radio" /> 男
<input type = "radio" />女<br />
<--!單選框(二選一)--><br />
<input type = "radio" name = "sex"/> 男
<input type= "radio" name = "sex">女<br />
<--!單選框(多選一)--><br />
<input type = "radio" name = "sex"/>男
<input type = "radio" name = "sex"/>
女
<input type = "radio" name = "sex"/>
中性
<input type = "radio" name = "sex1" />未知
<--!復(fù)選框--><br />
愛好:<input type = "checkbox"/>足球
<input type = "checkbox" />籃球
<input type = "checkbox" />羽毛球
<--!單選框(帶默認(rèn)選項(xiàng)的)--><br />
<input type = "radio" name = "sex" checked = "checked" />男<input type = "radio" name = "sex"/> 女<br />
<--!復(fù)選框(帶默認(rèn)選項(xiàng)的)--><br />
<input type = "checkbox" checked = "checked" />籃球
<input type = "checkbox" checked = "checked" />足球
<input type = "checkbox" />羽毛球<br />
<--!按鈕組--><br />
<--!普通按鈕--><br />
搜索:<input type = "button" /><br />
<--!普通按鈕(有名字的按鈕)--><br />
<input type = "button" value = "搜索" />
<input type = "submit" /><br />
<--!提交按鈕--><br />
<input type = "submit" /><br />
<input type = "submit" value = "submit" /><br />
<--!重置按鈕--><br />
<input type = "reset" />
<input height = "300" type = "reset" value = "reset" /><br />
<--!圖片按鈕--><br />
<input type = "image" src = ""/>
<--!文件按鈕--><br />
<input type = "file" />
<--!maxlength ,js決定中英文--><br />
<input type = "password" maxlength = "6"/><br />
<--!value值--><br />
<input type = "text" value = "value"/>
<--!placeholder值--><br />
<input type = "text" placeholder = "默認(rèn)值" />

</body>
</html>