<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>用户反馈页面</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        background-color: #f2f2f2;
      }
<pre><code>  h1 {
    text-align: center;
    color: #333333;
  }
  
  form {
    width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #999999;
  }
  
  label {
    display: block;
    margin-bottom: 10px;
    color: #333333;
  }
  
  input[type=&quot;text&quot;], textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  input[type=&quot;submit&quot;] {
    background-color: #333333;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  input[type=&quot;submit&quot;]:hover {
    background-color: #555555;
  }
&lt;/style&gt;
</code></pre>
  </head>
  <body>
    <h1>用户反馈页面</h1>
    <form>
      <label for="name">姓名</label>
      <input type="text" id="name" name="name" required>
<pre><code>  &lt;label for=&quot;email&quot;&gt;邮箱&lt;/label&gt;
  &lt;input type=&quot;text&quot; id=&quot;email&quot; name=&quot;email&quot; required&gt;
  
  &lt;label for=&quot;message&quot;&gt;留言&lt;/label&gt;
  &lt;textarea id=&quot;message&quot; name=&quot;message&quot; rows=&quot;5&quot; required&gt;&lt;/textarea&gt;
  
  &lt;input type=&quot;submit&quot; value=&quot;提交反馈&quot;&gt;
&lt;/form&gt;
</code></pre>
  </body>
</html>
用html+css写一个用户反馈页面

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

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