当前位置:网站首页>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
边栏推荐
- 198. 打家劫舍-动态规划
- PC uses wireless network card to connect to mobile phone hotspot. Why can't you surf the Internet
- On the problem of V-IF display and hiding
- JS get link? The following parameter name or value, according to the URL? Judge the parameters after
- The system cannot be started after AHCI is enabled
- In embedded system, must the program code in flash be moved to ram to run?
- 古代埃及希腊,数学用的什么进制
- [binary number] maximum depth of binary tree + maximum depth of n-ary tree
- 给 el-dialog 增加拖拽功能
- 高德地图搜索、拖拽 查询地址
猜你喜欢

Cross domain settings of Chrome browser -- including new and old versions
![[appium] write scripts by designing Keyword Driven files](/img/05/536701f39dcf8474e90e58738f2094.png)
[appium] write scripts by designing Keyword Driven files

Dry goods | how to extract thumbnails quickly?

Summary of common SQL statements

stm32入门开发板选野火还是正点原子呢?

Client example analysis of easymodbustcp

2022年流动式起重机司机国家题库模拟考试平台操作

958. Complete binary tree test

2022年上海市安全员C证操作证考试题库及模拟考试

Why do some people say SCM is simple and I have to learn it so hard?
随机推荐
386. Dictionary order (medium) - iteration - full arrangement
HCIP第五次实验
209. Minimum length subarray - sliding window
圆环回原点问题-字节跳动高频题
Read software engineering at Google (15)
958. 二叉树的完全性检验
超分之TDAN
Qt 修改UI没有生效
On the method of outputting the complete name of typeID from GCC
Hcip fifth experiment
土地覆盖/利用数据产品下载
索引:手把手教你索引从零基础到精通使用
[ES6] promise related (event loop, macro / micro task, promise, await / await)
Ring back to origin problem - byte jumping high frequency problem
Arithmetic expression
198. 打家劫舍-动态规划
209. 长度最小的子数组-滑动窗口
Special effects case collection: mouse planet small tail
Element calculation distance and event object
The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time