我剛剛開始使用HTML5的新表單輸入字段來處理HTML5。當我使用表單輸入字段時,尤其是<input type="text" />
和<input type="search" />
IMO,在包括Safari,Chrome,Firefox和Opera在內的所有主流瀏覽器中沒有任何區別。搜索字段的行爲也像普通的文本字段。輸入類型=「文本」vs輸入類型=「搜索」在HTML5中
那麼,HTML5中的input type="text"
和input type="search"
有什麼區別?
<input type="search" />
的真正目的是什麼?
http://www.html5tutorial。info/html5-search.php – 2012-07-21 05:41:38