当前位置:网站首页>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
input
Labels provide labels
Click on
label
Text , The browser automatically turns the focus to the form control associated with the label
label
Labeledfor
The attribute value should be associated with theid
Same property value
4、<select></select>
label
Used to create a drop-down list
select
In 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
边栏推荐
- 122. 买卖股票的最佳时机 II-一次遍历
- JS get link? The following parameter name or value, according to the URL? Judge the parameters after
- 01 - get to know the advantages of sketch sketch
- 极致体验,揭晓抖音背后的音视频技术
- The system cannot be started after AHCI is enabled
- Use of five routing guards
- Ring back to origin problem - byte jumping high frequency problem
- 一些问题一些问题一些问题一些问题
- Open source key component multi_ Button use, including test engineering
- 31. Next arrangement
猜你喜欢
Examination question bank and online simulation examination of the third batch (main person in charge) of special operation certificate of safety officer a certificate in Guangdong Province in 2022
470. Rand10() is implemented with rand7()
flink 学习(十二)Allowed Lateness和 Side Output
C1小笔记【任务训练篇二】
The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time
2022年流动式起重机司机国家题库模拟考试平台操作
JS get link? The following parameter name or value, according to the URL? Judge the parameters after
Future 用法详解
92. Reverse linked list II byte skipping high frequency question
uni-app黑马优购项目学习记录(下)
随机推荐
ECMAScript history
1217_使用SCons生成目标文件
Utilisation de la liste - Ajouter, supprimer et modifier la requête
Tdan over half
Operation of 2022 mobile crane driver national question bank simulation examination platform
Halo 开源项目学习(二):实体类与数据表
Advantages and disadvantages of several note taking software
The method of changing a value in the array and a value in the object of wechat applet
Listen for click events other than an element
Hcip fifth experiment
[binary number] maximum depth of binary tree + maximum depth of n-ary tree
SiteServer CMS5. 0 Usage Summary
JS implementation private attribute
402. Remove K digits - greedy
极致体验,揭晓抖音背后的音视频技术
Halo 开源项目学习(二):实体类与数据表
SQL optimization for advanced learning of MySQL [insert, primary key, sort, group, page, count]
Client example analysis of easymodbustcp
Detailed deployment of flask project
122. 买卖股票的最佳时机 II-一次遍历