[A] input type="radio" name="gender" value='male' checked="checked" 女 input type="radio" name="gender" value='female' 男 [A] type="定義的功能" 后面引號里面的是功能設(shè)置 比如 submit 提交 reset 重置重置input type="reset" 重置按鈕 恢復(fù)初始[A] 設(shè)置按鈕imput type='button' value="功能按鈕" 設(shè)置按鈕,可以自己設(shè)置功能button type="sublit">提交用戶名密碼這里是包含的內(nèi)容這里是設(shè)置的標(biāo)題
用戶名 placeholder="用戶名/郵箱/手機(jī)號"提示框
換行
1.1,? 密碼
input type="password"? name="password"??
1.2, 性別
input type="radio"? name="gender" value='male'? 女? ? ? ? ? ? ? ? ? ? ? ? ? ??
gender=on表示點(diǎn)擊過后臺現(xiàn)在無法識別男女智能確認(rèn)你點(diǎn)擊了
input type="radio"? name="gender" value='female'? 男? ? ? ? ? ? ? ? ? ? ? ? value是給他的值可以準(zhǔn)備確認(rèn)其屬性
1.3,愛好
input type="checkbox" name="hobby"? value="eat"吃
input type="checkbox"? name="hobby" value="sleep"睡
input type="checkbox"? name="hobby" value="play"玩
input type="checkbox"? name="hobby" value="study"學(xué)習(xí)
1.4,下拉列表,你喜歡的明星select name="star" id=""id="id"? 只可以選擇一個
muliple="muliple"? 可以選擇多個的這個是用來分組的 包住哪里就給下方的包到這個組里楊冪劉亦菲胡歌id是給select下拉框的權(quán)限
optgroup label="女明星"> 這個是用來分組的 包住哪里就給下方的包到這個組里
option value="ym">楊冪
option value="lyf">劉亦菲
option value="hg">胡歌
1.5,自我介紹這里寫自己介紹
《frameset》不能和《body》出現(xiàn)在同一個頁面中梨撞,包含外部頁面瞧捌,,字節(jié)數(shù)標(biāo)簽匪凉。
例如 :《frameset》
? ? ? ? ? ? ? 《frame src = "路徑"》
? ? ? ? ? ? ? 《/frameset》
如果引入兩個頁面就給他加樣式寸宏;
例如:《frameset cols = "50% 50%"》
一個《frame》就是一個頁
里面的內(nèi)容都不會再搜索引擎所引入嗜愈。
圖片的修復(fù)
fix 修復(fù)的方法吼畏;
js 的代碼要編寫到《scrip》標(biāo)簽中
一般將《scrip》標(biāo)簽寫到head里面(和style標(biāo)簽有點(diǎn)像)
--type? 默認(rèn)值? text/javescrip
--src? 需要 引入一個外部js文件? 指向文件的地址
if 如果? 《end if》? 結(jié)束? 姑丑!否