当前位置:网站首页>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
边栏推荐
- STM32 entry development board choose wildfire or punctual atom?
- 双指针进阶--leetcode题目--盛最多水的容器
- 开源按键组件Multi_Button的使用,含测试工程
- 为什么有些人说单片机简单,我学起来这么吃力?
- Double pointer advanced -- leetcode title -- container with the most water
- Uniapp custom search box adaptation applet alignment capsule
- 102. 二叉树的层序遍历
- Matlab / Simulink simulation of double closed loop DC speed regulation system
- Hcip fifth experiment
- 2021长城杯WP
猜你喜欢
Index: teach you index from zero basis to proficient use
Matlab / Simulink simulation of double closed loop DC speed regulation system
Allowed latency and side output
Operation of 2022 mobile crane driver national question bank simulation examination platform
2022年上海市安全员C证操作证考试题库及模拟考试
MySQL进阶学习之SQL优化【插入,主键,排序,分组,分页,计数】
Comparison between xtask and kotlin coroutine
2021 Great Wall Cup WP
Open source key component multi_ Button use, including test engineering
On the method of outputting the complete name of typeID from GCC
随机推荐
Summary of common server error codes
关于gcc输出typeid完整名的方法
The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time
Flask项目的部署详解
常用SQL语句总结
索引:手把手教你索引从零基础到精通使用
587. 安装栅栏 / 剑指 Offer II 014. 字符串中的变位词
Exercise: even sum, threshold segmentation and difference (two basic questions of list object)
Matlab / Simulink simulation of double closed loop DC speed regulation system
Why do some people say SCM is simple and I have to learn it so hard?
Open futures, open an account, cloud security or trust the software of futures companies?
MySQL进阶之索引【分类,性能分析,使用,设计原则】
Ouvrir des contrats à terme, ouvrir des comptes en nuage ou faire confiance aux logiciels des sociétés à terme?
386. Dictionary order (medium) - iteration - full arrangement
386. 字典序排数(中等)-迭代-全排列
flink 学习(十二)Allowed Lateness和 Side Output
Router object, route object, declarative navigation, programmed navigation
402. Remove K digits - greedy
41. 缺失的第一个正数
Tdan over half