html
<meta charset="UTF-8">
<title>注册成功</title>
<style>
body {
font-family: ’Arial’, sans-serif;
text-align: center;
padding-top: 100px;
}
h1 {
color: green;
}
p {
margin-top: 20px;
}
.success-message {
font-size: 24px;
color: #33cc33;
}
.back-button {
display: inline-block;
padding: 10px 20px;
background-color: #33cc33;
color: white;
border-radius: 5px;
cursor: pointer;
}
</style>
<h1>注册成功!</h1>
<p class="success-message">您的账户已成功创建。</p>
<!-- 这里可以添加一些额外的信息,比如登录链接等 -->
<!-- -->
<!-- <p>请点击 <a href="login.html">这里</a> 登录您的账户。</p> -->
<!-- 登录按钮 -->
<div class="back-button" onclick="window.location.href=’login.html’;">登录</div> <!-- 这里假设登录页面是login.html -->
这个模板使用了基本的HTML和CSS样式,包括一个标题、一条成功消息和一个登录按钮(假设登录页面是login.html
),你可以根据需要添加更多的内容或调整样式。