当前位置:网站首页>C1 notes [task training part 2]
C1 notes [task training part 2]
2022-04-23 17:48:00 【Lazy review, half yuan Jun】
Form labels
Two 、 Mission background
HTML Forms are used to collect user input . Form elements refer to different types of input Elements 、 Check box 、 Radio button 、 Submit button, etc .
3、 ... and 、 Task content
1、<form></form> label
Used to create HTML Forms , Common properties are as follows :
-
action: Specify when the form is submitted , Form data submission URL
-
method: Specified for sending form-data Of HTTP Method , Common attribute values are get、post
2、<input /> Elements
<input />Element is the most important form element , according to input Different elements type type , The form of expression is also different
| type | describe |
|---|---|
text |
Plain text box , General default 20 Character width |
textarea |
Multi-line text box |
button |
General button |
radio |
Radio buttons |
checkbox |
Checkbox |
reset |
Form reset button |
submit |
Form submit button |
password |
Password input box , The password field is replaced by a dot or asterisk |
3、<label></label> label
Used to
inputLabels provide labels
Click on
labelText , The browser automatically turns the focus to the form control associated with the label
labelLabeledforThe attribute value should be associated with theidSame property value
4、<select></select> label
Used to create a drop-down list
selectIn the element<option></option>Tags are used to define the options of the list
<select>
<option value=" trainee">C1 Trainee Engineer competency certification </option>
<option value="web ">C4 Front end basic capability certification </option>
<option value=" java">C4Java Basic competence certification </option>
<option value=" python">C4Python Basic competence certification </option>
</select>

5、<button></button> Elements
Used to define common buttons
版权声明
本文为[Lazy review, half yuan Jun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231744289633.html
边栏推荐
- ros常用的函数——ros::ok(),ros::Rate,ros::spin()和ros::spinOnce()
- 干货 | 快速抽取缩略图是怎么练成的?
- Construction of functions in C language programming
- 402. 移掉 K 位数字-贪心
- Use of list - addition, deletion, modification and query
- Element calculation distance and event object
- 386. Dictionary order (medium) - iteration - full arrangement
- Applet learning notes (I)
- Qt error: /usr/bin/ld: cannot find -lGL: No such file or directory
- JS get link? The following parameter name or value, according to the URL? Judge the parameters after
猜你喜欢

Why do some people say SCM is simple and I have to learn it so hard?

QT modification UI does not take effect

索引:手把手教你索引从零基础到精通使用

【Appium】通过设计关键字驱动文件来编写脚本

SystemVerilog(六)-变量

PC uses wireless network card to connect to mobile phone hotspot. Why can't you surf the Internet

The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time

高德地图搜索、拖拽 查询地址

JS get link? The following parameter name or value, according to the URL? Judge the parameters after

PC电脑使用无线网卡连接上手机热点,为什么不能上网
随机推荐
SiteServer CMS5. 0 Usage Summary
uni-app黑马优购项目学习记录(下)
云原生虚拟化:基于 Kubevirt 构建边缘计算实例
470. Rand10() is implemented with rand7()
Gets the time range of the current week
Detailed deployment of flask project
440. The k-th small number of dictionary order (difficult) - dictionary tree - number node - byte skipping high-frequency question
209. Minimum length subarray - sliding window
Tell the truth of TS
给 el-dialog 增加拖拽功能
[appium] write scripts by designing Keyword Driven files
flink 学习(十二)Allowed Lateness和 Side Output
Kubernetes service discovery monitoring endpoints
Halo 开源项目学习(二):实体类与数据表
Comparison between xtask and kotlin coroutine
Future 用法详解
Uniapp custom search box adaptation applet alignment capsule
Applet learning notes (I)
Construction of functions in C language programming
JS get link? The following parameter name or value, according to the URL? Judge the parameters after