瀏覽框
type="file" 瀏覽狂
name="uImg" 名字
id="uImg" 頁面中編號
隱藏域:客戶與服務器傳遞一些數據的,頁面上不現實
type="hidden" 隱藏域名
name="uDate" 名字
多行文本框
Textarea
rows="8" 行數
cols="40" 列數 與瀏覽器相關
name id
案例代碼
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
<html xmlns="http://www.w3.org/1999/xhtml"
<head
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /
<title無標題文檔</title
</head
<body
<form
照片:<input type="file" name="uImg" id="uImg" /<br /
<input type="hidden" name="uDate"/
評論:<textarea rows="8" cols="40" name="uCode"今天天氣不錯</textarea
</form
</body
</html
鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。
新聞熱點
疑難解答