满洲里俄语职业学院举办歌手比赛做一个报名网站HTML语言来写
<!DOCTYPE html>
<html>
<head>
<title>满洲里俄语职业学院歌手比赛报名</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
margin: 0;
padding: 20px;
}
<pre><code> h1 {
text-align: center;
color: #333333;
}
.form-container {
max-width: 400px;
margin: 0 auto;
background-color: #ffffff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-container label {
font-weight: bold;
color: #333333;
}
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="submit"] {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border-radius: 3px;
border: 1px solid #cccccc;
}
.form-container input[type="submit"] {
background-color: #333333;
color: #ffffff;
cursor: pointer;
}
.form-container input[type="submit"]:hover {
background-color: #555555;
}
</style>
</code></pre>
</head>
<body>
<h1>满洲里俄语职业学院歌手比赛报名</h1>
<div class="form-container">
<form action="submit.php" method="post">
<label for="name">姓名:</label>
<input type="text" id="name" name="name" required>
<pre><code> <label for="email">邮箱:</label>
<input type="email" id="email" name="email" required>
<label for="phone">电话号码:</label>
<input type="text" id="phone" name="phone" required>
<label for="song">演唱歌曲:</label>
<input type="text" id="song" name="song" required>
<input type="submit" value="提交报名">
</form>
</div>
</code></pre>
</body>
</html
原文地址: https://www.cveoy.top/t/topic/iP8E 著作权归作者所有。请勿转载和采集!