Bagaimana cara kerja formulir html menjelaskan?

Formulir HTML diperlukan, ketika Anda ingin mengumpulkan beberapa data dari pengunjung situs. Misalnya, selama pendaftaran pengguna Anda ingin mengumpulkan informasi seperti nama, alamat email, kartu kredit, dll

Formulir akan mengambil input dari pengunjung situs dan kemudian akan mempostingnya ke aplikasi back-end seperti CGI, ASP Script atau skrip PHP dll. Aplikasi back-end akan melakukan pemrosesan yang diperlukan pada data yang diteruskan berdasarkan logika bisnis yang ditentukan di dalam aplikasi

Ada berbagai elemen formulir yang tersedia seperti bidang teks, bidang teks, menu tarik-turun, tombol radio, kotak centang, dll.

HTML

tag digunakan untuk membuat formulir HTML dan memiliki sintaks berikut −
   form elements like input, textarea etc.

Atribut Formulir

Terlepas dari atribut umum, berikut adalah daftar atribut form yang paling sering digunakan −

Sr. NoAtribut & Deskripsi1

tindakan

Skrip backend siap memproses data yang Anda lewati

2

metode

Metode yang akan digunakan untuk mengunggah data. Yang paling sering digunakan adalah metode GET dan POST

3

target

Tentukan jendela atau bingkai target di mana hasil skrip akan ditampilkan. Dibutuhkan nilai seperti _blank, _self, _parent dll

4

enctype

Anda dapat menggunakan atribut enctype untuk menentukan bagaimana browser menyandikan data sebelum mengirimkannya ke server. Nilai yang mungkin adalah −

application/x-www-form-urlencoded − Ini adalah metode standar yang digunakan sebagian besar formulir dalam skenario sederhana

multipart/form-data − Ini digunakan saat Anda ingin mengunggah data biner dalam bentuk file seperti gambar, file kata dll

Catatan - Anda dapat merujuk ke Perl & CGI untuk detail tentang cara kerja pengunggahan data formulir

Kontrol Formulir HTML

Ada berbagai jenis kontrol formulir yang dapat Anda gunakan untuk mengumpulkan data menggunakan formulir HTML −

  • Kontrol Input Teks
  • Kontrol Kotak Centang
  • Kontrol Kotak Radio
  • Pilih Kontrol Kotak
  • Kotak Pilih File
  • Kontrol Tersembunyi
  • Tombol yang Dapat Diklik
  • Tombol Kirim dan Setel Ulang

Kontrol Input Teks

Ada tiga jenis input teks yang digunakan pada formulir −

  • Kontrol input teks baris tunggal − Kontrol ini digunakan untuk item yang hanya memerlukan satu baris input pengguna, seperti kotak pencarian atau nama. Mereka dibuat menggunakan tag HTML

  • Kontrol input kata sandi − Ini juga merupakan input teks satu baris tetapi menutupi karakter segera setelah pengguna memasukkannya. Mereka juga dibuat menggunakan tag HTML

  • Kontrol input teks multi-baris − Ini digunakan saat pengguna diminta untuk memberikan detail yang mungkin lebih panjang dari satu kalimat. Kontrol input multi-baris dibuat menggunakan HTML

    >9<<1 ________397______2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<4<5<1<!DOCTYPE html>0________2______7>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    4
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    After clicking on the submit button, the result 
    will open in a new browser tab.
    08
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09________1______3
    After clicking on the submit button, the result 
    will open in a new browser tab.
    _086______3

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran

    Bagaimana cara kerja formulir html menjelaskan?

    • Bidang Angka dalam Formulir HTML
      Bidang ini digunakan untuk mengambil angka sebagai input
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1

    After clicking on the submit button, the result 
    will open in a new browser tab.
    33>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    >9<<1 ________397______2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    After clicking on the submit button, the result 
    will open in a new browser tab.
    45
    After clicking on the submit button, the result 
    will open in a new browser tab.
    46<1<!DOCTYPE html>0
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    After clicking on the submit button, the result 
    will open in a new browser tab.
    56
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    After clicking on the submit button, the result 
    will open in a new browser tab.
    45
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09_________1______3________2______936_____

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran

    Bagaimana cara kerja formulir html menjelaskan?

     

     

    • Bidang Kata Sandi dalam Formulir HTML.  
      Bidang kata sandi adalah jenis bidang teks di mana teks yang dimasukkan disamarkan menggunakan tanda bintang atau titik untuk mencegah identitas pengguna dari orang lain yang melihat layar. Kontrol input bidang kata sandi dibuat menggunakan elemen "input" dengan atribut tipe yang memiliki nilai sebagai "kata sandi"
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1

    After clicking on the submit button, the result 
    will open in a new browser tab.
    84>1
    After clicking on the submit button, the result 
    will open in a new browser tab.
    86

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    >9<<1 <2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    After clicking on the submit button, the result 
    will open in a new browser tab.
    96
    After clicking on the submit button, the result 
    will open in a new browser tab.
    97

    >9<3<1<!DOCTYPE html>0

    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    >9________397__1_______1

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    12

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    13
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    After clicking on the submit button, the result 
    will open in a new browser tab.
    96>

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran.  
     

    Bagaimana cara kerja formulir html menjelaskan?

     

    • Tombol Radio dalam Bentuk HTML.  
      Tombol Radio digunakan untuk membiarkan pengguna memilih tepat satu opsi dari daftar opsi yang telah ditentukan. Kontrol input Tombol Radio dibuat menggunakan elemen "input" dengan atribut tipe yang memiliki nilai sebagai "radio"
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    38>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    >_9

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    46

    >9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    56
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    59
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09_________1______3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    96_______09________1______3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    96_______

    >9<<1 ________397______2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    62
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    70<1<!DOCTYPE html>0
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    56
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    59
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09_________1______3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    96_______

    >9<<1 <2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    86
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    94<1>

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran.  

    Bagaimana cara kerja formulir html menjelaskan?
     

    • Kotak centang dalam Formulir HTML.  
      Kotak centang digunakan untuk membiarkan pengguna memilih satu atau lebih opsi dari serangkaian opsi yang telah ditentukan sebelumnya. Kontrol input kotak centang dibuat menggunakan elemen "input" dengan atribut tipe yang memiliki nilai sebagai "kotak centang"
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1

    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    17>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    >9<

    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    26
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    27
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    26>

    >9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    39
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    42
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09________1______3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    4

    >9<<1 <2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    45
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    53<1>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    39
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    42
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09________1______3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    397

    >9<<1 <2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    67
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    75<1>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    39
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    42
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09________1______3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    3990_______399

    >9<<1 <2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    89
    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.
    97<1>

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran.   

    Bagaimana cara kerja formulir html menjelaskan?

    • File kotak pilih dalam Formulir HTML
      Kotak pilih file digunakan untuk memungkinkan pengguna memilih file lokal dan mengirimkannya sebagai lampiran ke server web. Ini mirip dengan kotak teks dengan tombol yang memungkinkan pengguna menelusuri file. Alih-alih menelusuri file, jalur dan nama file juga dapat ditulis. Kotak pilih file dibuat menggunakan elemen "input" dengan atribut tipe yang memiliki nilai sebagai "file"
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1

    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    20>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    >9<<1 ________397______2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    32
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    33<1>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    41
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    44
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3________138______9

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran.   

    Bagaimana cara kerja formulir html menjelaskan?

    • Area teks dalam Formulir HTML
      Area Teks adalah kontrol input teks multi-baris yang memungkinkan pengguna untuk memberikan deskripsi atau teks dalam beberapa baris. Kontrol input Area Teks dibuat menggunakan elemen "textarea".
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1

    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    69>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    >9<<1 <2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    81
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    82<1>

    >9<

    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    87 ________138______88
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    90
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    91
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    93
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5________1_____381___

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    13
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    81<!DOCTYPE html>01
    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.
    87>

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran.  

    Bagaimana cara kerja formulir html menjelaskan?

    • Pilih Kotak dalam Formulir HTML
      Kotak pilih digunakan untuk memungkinkan pengguna memilih satu atau lebih dari satu opsi dari daftar opsi pull-down. Kotak pilih dibuat menggunakan dua elemen yaitu "pilih" dan "opsi". Daftar item didefinisikan dalam elemen pilih
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1<!DOCTYPE html>24>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    >9<<1 <2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>36<!DOCTYPE html>37<1>

    >9<<!DOCTYPE html>42

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>36
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>36>

    <!DOCTYPE html>50<<!DOCTYPE html>52 <!DOCTYPE html>9

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>55<!DOCTYPE html>56<!DOCTYPE html>52________396______

    <!DOCTYPE html>50<<!DOCTYPE html>52 <!DOCTYPE html>9

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>64<!DOCTYPE html>65<!DOCTYPE html>52>

    <!DOCTYPE html>50<<!DOCTYPE html>52 <!DOCTYPE html>9

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>73<!DOCTYPE html>74<!DOCTYPE html>52________396______

    ________396

    After clicking on the submit button, the result 
    will open in a new browser tab.
    _397_______3<!DOCTYPE html>42>

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran

    Bagaimana cara kerja formulir html menjelaskan?

    Bagaimana cara kerja formulir html menjelaskan?

    • Tombol Atur Ulang Dan Kirim
      Tombol Kirim memungkinkan pengguna untuk mengirim data formulir ke server web. Tombol Atur Ulang digunakan untuk mengatur ulang data formulir dan menggunakan nilai default
       

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1<01>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3 <07
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<09 <10
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<12
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09________1______97_______3_______3

    >9<<1 ________397______2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    7<23<1>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    4
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1_______7
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<376_____

    >9________397__1_______1

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>8 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<1>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<54 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<57>

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    Keluaran.  
     

    Bagaimana cara kerja formulir html menjelaskan?

     

    Atribut Digunakan dalam Bentuk HTML

    Atribut Tindakan.  
    Tindakan yang akan dilakukan setelah penyerahan formulir ditentukan oleh atribut tindakan. Umumnya, data formulir dikirim ke halaman web di server web setelah pengguna mengklik tombol kirim
    Contoh.  
     

    Bagaimana cara kerja formulir html menjelaskan?

     

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    ________408______9<>1<01>1>

    html9<

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3 <07
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<09 <10
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<12
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09________1______97_______3_______3

    >9<<1 ________397______2

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    7<23<1>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    4
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1_______7
    After clicking on the submit button, the result 
    will open in a new browser tab.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<376_____

    >9________397__1_______1

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>8 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<1>

    >9<

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<54 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<57>

    html9<3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    If you click the submit button, the form data
    would be sent to a page called test.php .

    Atribut Target dalam Bentuk HTML.  
    Atribut Target digunakan untuk menentukan apakah hasil yang dikirimkan akan terbuka di jendela saat ini, tab baru, atau di bingkai baru. Nilai default yang digunakan adalah "self" yang menghasilkan pengiriman formulir di jendela yang sama. Untuk membuat hasil formulir terbuka di tab browser baru, nilainya harus disetel ke "kosong"
     

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

     

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3 <07
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html58 html59
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html61>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5
    After clicking on the submit button, the result 
    will open in a new browser tab.
    6
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    4
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5html82
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7<!DOCTYPE html>0
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>8 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    _397_______1>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

     

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    After clicking on the submit button, the result 
    will open in a new browser tab.

    Nama Atribut dalam Bentuk Html.  
    Atribut nama diperlukan untuk setiap kolom input. Jika atribut name tidak ditentukan dalam field input maka data dari field tersebut tidak akan dikirim sama sekali
     

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

     

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3 <07
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html58 html59
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html61>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5
    After clicking on the submit button, the result 
    will open in a new browser tab.
    6
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    4>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5html82
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7<!DOCTYPE html>0
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>8 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    _397_______1>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

     

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    _

    Atribut Metode

    Ini digunakan untuk menentukan metode HTTP yang digunakan untuk mengirim data saat mengirimkan formulir. Ada dua macam Metode HTTP, yaitu GET dan POST
    Metode DAPATKAN –
     

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

     

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3 <07
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html58 html59
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html61 <10________1______3<_397_______397

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5
    After clicking on the submit button, the result 
    will open in a new browser tab.
    6
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    4
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5html82
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7<!DOCTYPE html>0
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>8 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    _397_______1>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

     

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    In the GET method, after the submission of the form, the form values 
    will be visible in the address bar of the new browser tab.

    Metode Posting –
     

    HTML




    <!DOCTYPE html>

    <html>

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

     

    <

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3 <07
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html58 html59
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3html61 <10________1______3<_396

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5
    After clicking on the submit button, the result 
    will open in a new browser tab.
    6
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    4
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5html82
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    5
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    09>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5<
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7<!DOCTYPE html>0
    After clicking on the submit button, the result 
    will open in a new browser tab.
    7>

    After clicking on the submit button, the result 
    will open in a new browser tab.
    5________397__1_______1
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    2
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3<!DOCTYPE html>8 <!DOCTYPE html>9
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    3
    In the above code, after clicking the submit button, the form data will
    be sent to a page called /test.php. The data sent would not include the
    username input field data since the name attribute is omitted.
    _397_______1>

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    3>

     

    <3

    After clicking on the submit button, the result 
    will open in a new browser tab.
    0>

    <3html>

    In the post method, after the submission of the form, the form values
    will not be visible in the address bar of the new browser tab as it was
    visible in the GET method.

    Peramban yang Didukung

    • Google Chrome
    • Internet Explorer
    • Firefox
    • Opera
    • Safari

    HTML adalah fondasi halaman web, dan digunakan untuk pengembangan halaman web dengan menyusun situs web dan aplikasi web. Anda dapat mempelajari HTML dari bawah ke atas dengan mengikuti Tutorial HTML dan Contoh HTML ini

    Bagaimana cara kerja formulir dalam HTML?

    Formulir web, formulir web, atau formulir HTML pada halaman web memungkinkan pengguna memasukkan data yang dikirim ke server untuk diproses . Formulir dapat menyerupai formulir kertas atau basis data karena pengguna web mengisi formulir menggunakan kotak centang, tombol radio, atau bidang teks.

    Bagaimana cara kerja formulir web?

    Formulir web (atau formulir HTML) adalah tempat pengguna memasukkan data atau informasi pribadi yang kemudian dikirim ke server untuk diproses . Misalnya, pengguna dapat membagikan nama dan alamat email mereka untuk mendaftar buletin atau melakukan pemesanan.

    Bagaimana cara kerja metode formulir?

    Atribut metode elemen formulir memberi tahu browser web cara mengirim data formulir ke server . Menentukan nilai POST berarti browser akan mengirimkan data ke web server untuk diproses. Ini diperlukan saat menambahkan data ke database, atau saat mengirimkan informasi sensitif, seperti kata sandi.