第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

為什么重置按鈕在給定的 HTML 代碼中不起作用?

為什么重置按鈕在給定的 HTML 代碼中不起作用?

FFIVE 2023-10-10 16:19:14
重置按鈕不起作用的表單代碼。這是收集學(xué)生信息的表格。它使用標(biāo)簽、文本字段、文本區(qū)域、單選按鈕、復(fù)選框、提交按鈕、重置按鈕等。重置按鈕在此代碼中不起作用。<!DOCTYPE html><html><head>  <style type="text/css">    label.la {      text-indent: 30px;      color: red;      width: 240px;      display: inline-block;    }  </style>  <style type="text/css">    input.tf {      border-color: green;      border: 2px solid    }  </style>  <style type="text/css">    #b1:hover {      background-color: red;      color: white    }        #b2:hover {      background-color: green;      color: white    }  </style></head><body style="text-align: center">  <h1>Assignment 3</h1>  <from style="display:inline-block;" action="/action_page.php">    <fieldset>      <legend>        <h3>Student Info</h3>      </legend>      <label class="la">First Name:</label>      <input class="tf" type="text" placeholder="Jadon" required>      <br><br>      <label class="la">Last Name:</label>      <input class="tf" type="text" placeholder="Sancho" required>      <br><br>      <label class="la">Date of Birth:</label>      <input class="tf" type="text" placeholder="1/1/1999" required>      <br><br>      <label class="la">Age:</label>      <input class="tf" type="text" placeholder="20" required>      <br><br>      <label class="la" style="padding-right: 30px">Gender:</label>      <input type="radio" name="Male" value="Male">      <label>Male</label>      <input type="radio" name="Female" value="Female">      <label for="Female">Female</label>      <br><br>      <label style="color:red;display:inline;padding-left: 60px;width: 210px;display: inline-block;margin:-top:20px">Address:</label>      <textarea cols="25" rows="3" placeholder="type here..." style="border-color: green;border:2px solid;margin-top: : 50px"></textarea>      <br><br>        }      </script>    </fieldset>  </from></body></html>
查看完整描述

1 回答

?
慕俠2389804

TA貢獻(xiàn)1719條經(jīng)驗(yàn) 獲得超6個(gè)贊

<!DOCTYPE html>

<html>


<head>

  <style type="text/css">

    label.la {

      text-indent: 30px;

      color: red;

      width: 240px;

      display: inline-block;

    }

  </style>

  <style type="text/css">

    input.tf {

      border-color: green;

      border: 2px solid

    }

  </style>

  <style type="text/css">

    #b1:hover {

      background-color: red;

      color: white

    }

    

    #b2:hover {

      background-color: green;

      color: white

    }

  </style>

</head>


<body style="text-align: center">

  <h1>Assignment 3</h1>

  <form style="display:inline-block;" action="/action_page.php">

    <fieldset>

      <legend>

        <h3>Student Info</h3>

      </legend>

      <label class="la">First Name:</label>

      <input class="tf" type="text" placeholder="Jadon" required>

      <br><br>

      <label class="la">Last Name:</label>

      <input class="tf" type="text" placeholder="Sancho" required>

      <br><br>

      <label class="la">Date of Birth:</label>

      <input class="tf" type="text" placeholder="1/1/1999" required>

      <br><br>

      <label class="la">Age:</label>

      <input class="tf" type="text" placeholder="20" required>

      <br><br>

      <label class="la" style="padding-right: 30px">Gender:</label>

      <input type="radio" name="Male" value="Male">

      <label>Male</label>

      <input type="radio" name="Female" value="Female">

      <label for="Female">Female</label>

      <br><br>

      <label style="color:red;display:inline;padding-left: 60px;width: 210px;display: inline-block;margin:-top:20px">Address:</label>

      <textarea cols="25" rows="3" placeholder="type here..." style="border-color: green;border:2px solid;margin-top: : 50px"></textarea>

      <br><br>

      <label class="la" style="padding-left: 55px">Class:</label>

      <input type="radio" name="Class" value="F.Y">

      <label>F.Y</label>

      <input type="radio" name="Class" value="S.Y">

      <label>S.Y</label>

      <input type="radio" name="Class" value="T.Y">

      <label>T.Y</label>

      <input type="radio" name="Class" value="B.Tech">

      <label>B.Tech</label>

      <br><br>

      <label class="la" style="padding-left: 95px">Area(s) of Interest:</label>

      <input type="checkbox" name="M.L">

      <label for="M.L">M.L</label>

      <input type="checkbox" name="A.I">

      <label for="A.I">A.I</label>

      <input type="checkbox" name="H.P.C">

      <label for="H.P.C">H.P.C</label>

      <input type="checkbox" name="Cyber-Security">

      <label for="Cyber-Security">Cyber-Security</label>

      <br><br>

      <label class="la">E-mail:</label>

      <input class="tf" type="text" placeholder="JSancho07@gmail.com" required>

      <br><br>

      <label class="la">Password:</label>

      <input class="tf" type="Password" placeholder="min 8 characters" required>

      <br><br>

      <input id="b1" type="reset" name="Reset" value="Reset" style="border-color: red;font-size: 20px;border-radius: 15%;margin:10px">

      <input id="b2" type="submit" name="submit" style="border-color: green;font-size: 20px;border-radius: 15%;margin: 10px" onclick="myFunction()">

      <script>

        function myFunction() {

          alert("Submission Successful");

        }

      </script>

    </fieldset>

  </form>

</body>


</html>


查看完整回答
反對(duì) 回復(fù) 2023-10-10
  • 1 回答
  • 0 關(guān)注
  • 96 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)