gpt4 book ai didi

HTML 5 需要输入字段

转载 作者:搜寻专家 更新时间:2023-10-31 21:51:52 25 4
gpt4 key购买 nike

假设我有两个输入框

<input id='intput1' type='text' />
<input id='intput2' type='text' />

我可以使用所需的 html 5 属性来指定需要输入 1 还是输入 2

最佳答案

不像currently drafted :

The required attribute is a boolean attribute. When specified, the element is required.

关于HTML 5 需要输入字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8222970/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com