!DOCTYPE htmlhtmlhead title购买留言titleheadbody h1购买留言h1 form action=save_messagephp method=POST label for=message购买信息label textarea id=message name=messagetextarea input type=submit value=提交 formbody
<!DOCTYPE html>
<html>
<head>
<title>购买留言</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
margin: 0;
padding: 0;
}
h1 {
text-align: center;
margin-top: 50px;
}
form {
width: 500px;
margin: 50px auto;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
label {
display: block;
margin-bottom: 10px;
font-size: 18px;
font-weight: bold;
}
textarea {
width: 100%;
height: 150px;
padding: 10px;
font-size: 16px;
border: 2px solid #ccc;
border-radius: 5px;
resize: none;
}
input[type="submit"] {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<h1>购买留言</h1>
<form action="save_message.php" method="POST">
<label for="message">购买信息:</label>
<textarea id="message" name="message"></textarea>
<input type="submit" value="提交">
</form>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/bpdH 著作权归作者所有。请勿转载和采集!