验证用户输入的邮箱

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了验证用户输入的邮箱相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title></title>

<link rel="stylesheet" href="">

</head>

<body>

<form ng-app="" name="myForm">

Email:

<input type="email" name="myAddress" ng-model="text">

<span ng-show="myForm.myAddress.$error.email">不是一个合法的邮箱地址</span>

</form>

</body>

<script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>

</html>


本文出自 “素颜” 博客,请务必保留此出处http://suyanzhu.blog.51cto.com/8050189/1895275

以上是关于验证用户输入的邮箱的主要内容,如果未能解决你的问题,请参考以下文章

JS中验证检测用户输入的电子邮件是不是含有@

JavaMai——邮箱验证用户注册

php用函数判断用户输入信息是否为邮箱

大众点评修改用户邮箱地址时的验证过程

[技术博客] 使用邮箱验证并激活账户

基于SpringBoot的QQ邮箱登录注册及找回密码