9-18.表单验证属性

input的属性:

1.pattern属性:规定输入字符的模式,指的是正则表达式

2.required属性:规定必须填写内容

posted on 2021-11-04 22:48  Walker-Yang  阅读(47)  评论(0编辑  收藏  举报

导航