浏览框type="file" 浏览狂name="uImg" 名字 id="uImg" 页面中编号 隐藏域:客户与服务器传递一些数据的,页面上不现实type="hidden" 隐藏域名name="uDate" 名字 多行文本框Textarearows="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>
|