当前位置: 首页 > news >正文

助农网站策划书安卓上搭建wordpress

助农网站策划书,安卓上搭建wordpress,永久免费域名,网页设计版权怎么写1.表单标签 及 表单属性表单标签是 &#xff1a;<form> 表单属性有&#xff1a;action 和 method&#xff1b;action属性&#xff1a;规定向何处发送表单数据。method属性&#xff1a;规定用什么方法发送数据。&#xff08;get和post&#xff09;get:在发送的url后面拼接…

1.表单标签 及 表单属性

·表单标签是 :<form>
·表单属性有:action 和 method;
   ·action属性:规定向何处发送表单数据。
 ·method属性:规定用什么方法发送数据。(get和post)
 get:在发送的url后面拼接表单数据,明文显示表单数据的内容,url的长度有限制。
 post:在消息体/请求体中传递,参数大小无限制。

2.表单项 及 属性

表单标签中常包括三种表单项标签:input、select、textarea

        ·input:定义表单项,通过type属性控制输入

             type属性的值有:

                   ① text:默认值,定义单行的输入字段
② password:定义密码字段
③ radio:单选按钮,name属性相同表示在一个备选圈中,value属性不同,表示各自的选项;如果最外层嵌套label标签,这样不用精准点击方格,点击文字部分也可选中
④ checkbox:复选


⑤ file:文件上传
⑥ data/time/datatime-local:定义日期、时间、日期和时间
⑦ number:数字输入框
⑧ email:邮件输入框
⑨ hidden:隐藏域
⑩ submit/reset/button:提交、重置、可点击按钮,value属性的值会展示在按钮上

-------------------------------------------------------------------------------------------------------------------------

        ·select:下拉列表,标签 option 定义列表项

                形式写法:

-------------------------------------------------------------------------------------------------------------------------

        ·textarea:定义文本域

                常见属性的值有:cols和row

                        ① cols:一行最多有几个字符
② rows:默认可以写几行

3.表单效果展示:

<table action=""  methods="get"><h1 style="text-align: center;">基础信息表</h1>姓名:<input type="text" name="name">   <br>  密码:<input type="password" name="password">   <br>    性别:<input type="radio" name="sex" value="男">男 <input type="radio" name="sex" value="女">女   <br>爱好: <label><input type="checkbox" name="love" value="1"> 唱歌</label> <label><input type="checkbox" name="love" value="2"> 跳舞</label> <label><input type="checkbox" name="love" value="3"> 绘画</label> <br>上传简历pdf:<input type="file"> <br>选择日期 和 时间:<input type="datetime-local"><br>年龄:<input type="number"><br>邮件:<input type="email"><br>学历:<select name="degree"><option value="1">-----下拉选择学历-----</option><option value="2">高中</option><option value="3">本科</option><option value="4">研究生</option></select><br>其他留言:<textarea cols="30" rows="6"></textarea><br><br><input type="button" name="button" value="按钮">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input type="reset" name="reset" value="重置">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input type="submit" name="submit" value="提交"></table>

整个代码:

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>表单</title><style>span{margin-left: 60px;color: darkblue;}.div1{width: 380px;height: 600px;background-color:lightgoldenrodyellow;margin-left: 100px;padding: 30px ;line-height: 40px;}div{margin-left: 70px;}</style></head><body><h2>1.表单标签 及 表单属性</h2><p>·表单标签是 :<b>form</b><br>·表单属性有:action 和 method;<br>&nbsp;&nbsp;&nbsp;<b>·action属性:</b>规定向何处发送表单数据。<br>&nbsp;&nbsp;&nbsp;<b>·method属性:</b>规定用什么方法发送数据。(get和post)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;get:在发送的url后面拼接表单数据,明文显示表单数据的内容,url的长度有限制。<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;post:在消息体/请求体中传递,参数大小无限制。</p><h2>2.表单项 及 属性</h2><p>表单标签中常包括三种表单项标签:<b>input、select、textarea </b> </p><p style="text-indent: 30px;"><b style="color: blue;">·input:</b>定义表单项,通过type属性控制输入</p><span>type属性的值有:</span><div> ① text:默认值,定义单行的输入字段<br>② password:定义密码字段<br>③ radio:单选按钮,name属性相同表示在一个备选圈中,value属性不同,表示各自的选项;如果最外层嵌套label标签,这样不用精准点击方格,点击文字部分也可选中<br>④ checkbox:复选<br>⑤ file:文件上传<br>⑥ data/time/datatime-local:定义日期、时间、日期和时间<br>⑦ number:数字输入框<br>⑧ email:邮件输入框<br>⑨ hidden:隐藏域<br>⑩ submit/reset/button:提交、重置、可点击按钮,value属性的值会展示在按钮上</div><p style="text-indent: 30px;"><b style="color: blue;">·select:</b>下拉列表,标签 <b>option</b> 定义列表项</p><span>形式写法:</span><br><div> <img src="select.png" width="400px"> </div><p style="text-indent: 30px;"><b style="color: blue;">·textarea:</b>定义文本域</p><span>常见属性的值有:<b>cols和row</b></span><div>① cols:一行最多有几个字符<br>② rows:默认可以写几行</div><h2>3.效果展示:</h2><div class="div1"><table action=""  methods="get"><h1 style="text-align: center;">基础信息表</h1>姓名:<input type="text" name="name">   <br>  密码:<input type="password" name="password">   <br>    性别:<input type="radio" name="sex" value="男">男 <input type="radio" name="sex" value="女">女   <br>爱好: <label><input type="checkbox" name="love" value="1"> 唱歌</label> <label><input type="checkbox" name="love" value="2"> 跳舞</label> <label><input type="checkbox" name="love" value="3"> 绘画</label> <br>上传简历pdf:<input type="file"> <br>选择日期 和 时间:<input type="datetime-local"><br>年龄:<input type="number"><br>邮件:<input type="email"><br>学历:<select name="degree"><option value="1">-----下拉选择学历-----</option><option value="2">高中</option><option value="3">本科</option><option value="4">研究生</option></select><br>其他留言:<textarea cols="30" rows="6"></textarea><br><br><input type="button" name="button" value="按钮">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input type="reset" name="reset" value="重置">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input type="submit" name="submit" value="提交"></table></div></body>
</html>

http://www.dtcms.com/a/592266.html

相关文章:

  • 电商网站建设比较好的外国建筑设计网站
  • 论坛建站构站网
  • 深圳网站设计张兵互联网行业前景
  • 网站部分链接做301跳转找专题页面那个网站好
  • 网站做导航设计的作用是什么意思ps怎么做电商网站
  • 盐城网站开发基本流程装饰网站建设流程
  • 公司网站优化襄阳seo推广
  • 网站开发好的公司推荐wordpress 一站多主题
  • 建立一个自己的网站网站如何申请微信支付功能
  • 土特产直营网站建设代码全网营销整合营销
  • 做钢管的去什么网站发信息网站建设流量入口
  • v9网站模板上海传媒公司排行榜
  • app网站开发小程序目前做网站最好的语言是
  • 北京海淀工商局网站app推广多少钱一个
  • 大悟县城乡建设局网站装修行业在什么网站上做推广好
  • 东莞站福公司工资互动网络游戏公司网站建设
  • 苏州城乡住房建设局网站新乡哪有网站建设公司
  • 北京专业网站建设站长工具在线查询
  • 常见的网站开发工具有哪些公司和个人均不能备案论坛类网站
  • 打广告型的营销网站励志网站织梦源码
  • 网站建设会议讲话松江建网站
  • 网站图片做cdn网上银行
  • 邯郸建设企业网站建筑设计公司起名
  • 南漳网站开发做印章网站
  • 讯展网站优化推广wordpress首页加速
  • dede 子网站园区官方网站建设
  • 沈阳德泰诺网站建设公司 概况建设内部网站目的
  • 手机上如何制作自己的网站龙华网站建设主要工作
  • 做化工资讯的网站织梦网站地图模板
  • 安徽淮北做网站的公司企业展示型网站建设