html - 怎么去掉这句话
问题描述
<body>
<form>
<div>
<label for="email" style="margin-right:72%;">Email address</label>
<input type="text" name="email" id="email" placeholder="Email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$" title="Please enter a valid email address" required>
</div>
<button>Send</button>
</form>
</body>
如何删除输出错误消息语句“您必须使用这种格式”?
解决方案
只需删除
pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$" title="Please enter a valid email address"
从标签输入
推荐阅读
- keras - 在 Keras 模型的第一层中识别 input_shape 有什么好处吗?
- github - 如何通过 gitbash 将代码提交到 github?
- kubernetes - 如果 `automountServiceAccountToken` 设置为 false,pod 的服务帐户的用途是什么?
- arrays - 如何在mongodb中同时更新和插入数组
- python - Spark3:无法使用 spark sql 命令查看配置单元数据库和表
- sql - SQL Server:如何计算年龄组的计数(*)
- javascript - 登录后Reactjs重定向到受保护的页面在身份验证后不起作用
- r - 是否有可能有一个加载条或微调器,该工作需要在闪亮的情况下运行?
- linux - 如何完全卸载 eclipse 基本(ubuntu)?
- python - 查询rpyc中的多个客户端连接