代码能发一下吗
代码能发一下吗
代码能发一下吗
2017-06-19
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset = "UTF-8">
<title>学习慕课网</title>
<link rel="stylesheet" href="lib/bootstrap.css">
<style>
.red {
background: #a30;
}
.error{
color: #a10;
}
p.error {
display: none;
}
input.error {
border: 1px solid #a10;
}
.wrapper{
width: 200px;
margin: 30px auto;
}
</style>
</head>
<body ng-app="myApp" ng-controller="MainController">
<div class="wrapper">
<h2>注册</h2>
<form>
<div class="form-group">`
<label for="">用户名:</label>
<input type="text" name="username" class="form-control">
<p class="error">错误信息</p>
</div>
<div class="form-group">
<label for="">密码:</label>
<input type="password" name="password" class="form-control">
</div>
<div class="form-group">
<label for="">确认密码:</label>
<input type="password" name="password2" class="form-control">
</div>
<button class="btn btn-primary">注册</button>
</form>
</div>
<script src="lib/angular.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>
举报