邮箱验证码html好看模板
以下是一个简单的邮箱验证码的HTML模板:
<!DOCTYPE html>
<html>
<head>
<title>Email Verification Code</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
padding: 20px;
}
.container {
max-width: 400px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
}
p {
margin-bottom: 10px;
}
.code {
display: inline-block;
padding: 10px;
background-color: #f5f5f5;
border-radius: 5px;
font-size: 18px;
color: #333;
}
.button {
display: block;
width: 100%;
text-align: center;
background-color: #007bff;
color: #fff;
padding: 10px;
border-radius: 5px;
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<h1>Email Verification Code</h1>
<p>Dear user,</p>
<p>Here is your verification code:</p>
<p class="code">123456</p>
<p>Please enter this code in the verification form.</p>
<a href="#" class="button">Verify Email</a>
</div>
</body>
</html>
这个模板使用了简单的样式和布局,包含一个标题、一段文本、一个验证码和一个验证按钮。你可以根据需要自定义样式和内容。
原文地址: https://www.cveoy.top/t/topic/i83M 著作权归作者所有。请勿转载和采集!