久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css中submit意思是什么

      在css中,submit的意思是提交,當(dāng)點(diǎn)擊該按鈕時(shí),會(huì)把用戶信息的表單提交到遠(yuǎn)程數(shù)據(jù)庫(kù)中;語(yǔ)法“type="submit"”。type屬性可返回確認(rèn)按鈕的表單元素類型,當(dāng)值為submit時(shí),表示該按鈕為確認(rèn)按鈕。

      css中submit意思是什么

      本教程操作環(huán)境:windows7系統(tǒng)、CSS3&&HTML5版、Dell G3電腦。

      Submit對(duì)象代表HTML表單中的一個(gè)提交按鈕(submitbutton)。在HTML表單中<input type="submit">標(biāo)簽每出現(xiàn)一次,一個(gè)Submit對(duì)象就會(huì)被創(chuàng)建。

      在表單提交之前,觸發(fā)onclick事件句柄,并且一個(gè)句柄可以通過(guò)返回false來(lái)取消表單提交。

      例子

      <!DOCTYPE html> <html>   <head>     <meta charset="utf-8" />     <title>document</title>   </head>   <style>     input[type="text"],     select {       width: 100%;       padding: 12px 20px;       margin: 8px 0;       display: inline-block;       border: 1px solid #ccc;       border-radius: 4px;       box-sizing: border-box;     }      input[type="submit"] {       width: 100%;       background-color: #4caf50;       color: white;       padding: 14px 20px;       margin: 8px 0;       border: none;       border-radius: 4px;       cursor: pointer;     }      input[type="submit"]:hover {       background-color: #45a049;     }      div {       border-radius: 5px;       background-color: #f2f2f2;       padding: 20px;     }   </style>   <body>     <h3>使用 CSS 來(lái)渲染 HTML 的表單元素</h3>      <div>       <form action="/action_page.php">         <label for="fname">First Name</label>         <input           type="text"           id="fname"           name="firstname"           placeholder="Your name.."         />          <label for="lname">Last Name</label>         <input           type="text"           id="lname"           name="lastname"           placeholder="Your last name.."         />          <label for="country">Country</label>         <select id="country" name="country">           <option value="australia">Australia</option>           <option value="canada">Canada</option>           <option value="usa">USA</option>         </select>          <input type="submit" value="Submit" />       </form>     </div>   </body> </html>

      效果:

      css中submit意思是什么

      推薦學(xué)習(xí):css視頻教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)