“Atribut tombol HTML” Kode Jawaban

Atribut tombol di HTML

<!-- autofocus: button gets focus when page loads -->
<button type="button" autofocus>Click Me!</button>
<!-- disabled: specifies that a button should be disabled -->
<button type="button" disabled>Click Me!</button>
<!-- form: id of form the button belongs to -->
<form action="/action_page.php" method="get" id="form1">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname">
</form>
<button type="submit" form="form1" value="Submit">Submit</button>
<!-- type: button | reset | submit -->
<form action="/action_page.php" method="get">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname">
  <button type="submit" value="Submit">Submit</button>
  <button type="reset" value="Reset">Reset</button>
</form>
Wissam

Atribut tombol HTML

print("heeo")
Feyisa Gizaw

Jawaban yang mirip dengan “Atribut tombol HTML”

Pertanyaan yang mirip dengan “Atribut tombol HTML”

Lebih banyak jawaban terkait untuk “Atribut tombol HTML” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya