当前位置:网站首页>Select tag - uses the default text as a placeholder prompt but is not considered a valid value
Select tag - uses the default text as a placeholder prompt but is not considered a valid value
2022-06-26 13:36:00 【woowen!】
select label - Use the default text as a placeholder prompt but not as a valid value
Graphic effect :
The code snippet is as follows :
<select>
<option value="" selected disabled hidden> Please select a city you have been to </option>
<option value="1"> Beijing </option>
<option value="2"> Shanghai </option>
<option value="3"> Guangzhou </option>
<option value="4"> Chengdu </option>
</select>
Here's the point :
stay option Add on label selected disabled hidden attribute
边栏推荐
猜你喜欢
[how to connect the network] Chapter 2 (middle): sending a network packet
Some conclusions about Nan
[how to connect the network] Chapter 2 (next): receiving a network packet
三维向量的夹角
Awk tools
awk工具
Oplg: new generation cloud native observable best practices
【Spark】. Explanation of several icons of scala file in idea
网络远程访问的方式使用树莓派
Log in to the server using SSH key pair
随机推荐
Thinking caused by the error < note: candidate expectations 1 argument, 0 provided >
Traverse the specified directory to obtain the file name with the specified suffix (such as txt and INI) under the current directory
三维向量的夹角
Es snapshot based data backup and restore
Beifu PLC obtains system time, local time, current time zone and system time zone conversion through program
KITTI Detection dataset whose format is letf_ top_ right_ bottom to JDE normalied xc_ yc_ w_ h
Oplg: new generation cloud native observable best practices
Chapter 10 setting up structured logging (2)
7-2 the cubic root of a number
Detailed introduction to shell script (4)
33、使用RGBD相机进行目标检测和深度信息输出
C language: Exercise 2
shell脚本详细介绍(四)
H5视频自动播放和循环播放
What is the use of index aliases in ES
LeetCode_ Stack_ Medium_ 150. evaluation of inverse Polish expression
MongoDB系列之Window环境部署配置
Connection migration for DataGrid configuration
5+api, clear application cache
Coprime and non coprime of template problems of Chinese remainder theorem