以下是一个前端留言反馈页面的示例:

<!DOCTYPE html>
<html>
<head>
    <title>留言反馈</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f7f7f7;
        }

        h1 {
            color: #333333;
            text-align: center;
        }

        form {
            background-color: #ffffff;
            border-radius: 5px;
            padding: 20px;
        }

        label {
            display: block;
            margin-bottom: 10px;
            font-weight: bold;
        }

        input[type="text"],
        textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #cccccc;
            border-radius: 5px;
            resize: vertical;
        }

        textarea {
            height: 150px;
        }

        input[type="submit"] {
            background-color: #333333;
            color: #ffffff;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #555555;
        }
    </style>
</head>
<body>
    <h1>留言反馈</h1>
    <form action="submit_feedback.php" method="post">
        <label for="name">姓名</label>
        <input type="text" id="name" name="name" required>

        <label for="email">邮箱</label>
        <input type="text" id="email" name="email" required>

        <label for="message">留言</label>
        <textarea id="message" name="message" required></textarea>

        <input type="submit" value="提交反馈">
    </form>
</body>
</html>

在这个示例中,我们使用HTML和CSS创建了一个简单的留言反馈页面。页面包含一个标题、一个表单和一个提交按钮。表单中包含姓名、邮箱和留言的输入字段。用户必须在这些字段中输入有效的信息才能提交反馈。提交按钮点击后将表单数据发送到submit_feedback.php页面进行处理

前端留言反馈页面示例

原文地址: http://www.cveoy.top/t/topic/i0SO 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录