首页 / 知识

Html入门之浏览框隐藏框,多行文本框

2023-04-11 16:09:00

Html入门之浏览框隐藏框,多行文本框

 

浏览框

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>

 

浏览服务器数据域名编号隐藏域

最新内容

相关内容

热门文章

推荐文章

标签云

猜你喜欢