HTML <select> 鏍囩


瀹炰緥

鍒涘缓甯︽湁 4 涓夐」鐨勯夋嫨鍒楄〃锛

<select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select>

灏濊瘯涓涓 禄

娴忚鍣ㄦ敮鎸

Internet ExplorerFirefoxOperaGoogle ChromeSafari

鎵鏈変富娴佹祻瑙堝櫒閮芥敮鎸 <select> 鏍囩銆


鏍囩瀹氫箟鍙婁娇鐢ㄨ鏄

广西快三平刷计划—官方网址22270.COM<select> 鍏冪礌鐢ㄦ潵鍒涘缓涓嬫媺鍒楄〃銆

<select> 鍏冪礌涓殑 <option> 鏍囩瀹氫箟浜嗗垪琛ㄤ腑鐨勫彲鐢ㄩ夐」銆


鎻愮ず鍜屾敞閲

鎻愮ず锛<select> 鍏冪礌鏄竴绉嶈〃鍗曟帶浠讹紝鍙敤浜庡湪琛ㄥ崟涓帴鍙楃敤鎴疯緭鍏ャ


HTML 4.01 涓 HTML5涔嬮棿鐨勫樊寮

广西快三平刷计划—官方网址22270.COMHTML5 澧炲姞浜嗕竴浜涙柊鐨勫睘鎬с


灞炴

New 锛欻TML5 涓殑鏂板睘鎬с

灞炴 鎻忚堪
autofocusNew autofocus 瑙勫畾鍦ㄩ〉闈㈠姞杞芥椂涓嬫媺鍒楄〃鑷姩鑾峰緱鐒︾偣銆
disabled disabled 褰撹灞炴т负 true 鏃讹紝浼氱鐢ㄤ笅鎷夊垪琛ㄣ
formNew form_id 瀹氫箟 select 瀛楁鎵灞炵殑涓涓垨澶氫釜琛ㄥ崟銆
multiple multiple 褰撹灞炴т负 true 鏃讹紝鍙夋嫨澶氫釜閫夐」銆
name text 广西快三平刷计划—官方网址22270.COM瀹氫箟涓嬫媺鍒楄〃鐨勫悕绉般
requiredNew required 广西快三平刷计划—官方网址22270.COM瑙勫畾鐢ㄦ埛鍦ㄦ彁浜よ〃鍗曞墠蹇呴』閫夋嫨涓涓笅鎷夊垪琛ㄤ腑鐨勯夐」銆
size number 瑙勫畾涓嬫媺鍒楄〃涓彲瑙侀夐」鐨勬暟鐩


鍏ㄥ眬灞炴

<select> 鏍囩鏀寔 HTML 鐨勫叏灞灞炴


浜嬩欢灞炴

<select> 鏍囩鏀寔 HTML 鐨勪簨浠跺睘鎬


鐩稿叧鏂囩珷

HTML DOM 鍙傝冩墜鍐岋細 Select 瀵硅薄