input中使用pattern属性

效果 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <form action=""> <input type="text" name="mobile" autocomplete="off" pattern="^1[345678][
相关文章
相关标签/搜索