16-09-2020, Saat: 23:17
Kod:
<!-- form etiketi kullanımı
action kodu formun gönderileceği alanı yazar.
method kodu POST ve GET
post= verinin gizli gitmesini sağlar. (şifreli değil, gizli)
get= adres satırında görünür. (gizli gitmez.)
-------
autofocus kodu kürsörü odaklar
placeholder kodu yarı görünür yazını yansıtır
step kodu yazdığın sayının katlarını zorunlu kılar
required kodu doldurulması zorunlu alan yapar.
autocomplete kodu otomatik doldurur
input kodunun içine style ile değiştirebiliriz.
-------
target="_blank" kodu formu doldurdugunda yeni sekmeye yollar.
-------
rows yükseklik | cols uzunluk için kullanılır.
-------
selected komutu, hazırda seçili olan seçenektir.
-->
<br><br>
<form action="https://forum.moongaming.org" method="GET" target="_blank">
Ad Soyad <input style="width: 100px;" type="text" name="texttype"> <br><br>
max min <input type="text" name="texttype" max="5"> <br><br>
max min <input type="text" name="texttype" min="5"> <br><br>
e-Mail <input type="email" name="" autocomplete="off"> <br><br>
step <input type="number" name="texttype" step="10"> <br><br>
Required <input type="text" name="" placeholder="isim gir" autofocus="" required=""> <br><br>
<hr>
Ad Soyad <input type="text" name="texttype"> <br><br>
Ad Soyad <input type="text" name="" value="EnesizmM"> <br><br>
Ad Soyad <input type="text" name="" placeholder="Ad gir."> <br><br>
Required <input type="text" name="" placeholder="isim gir" required=""> <br><br>
ReadOnly <input type="text" name="" placeholder="isim gir" readonly=""> <br><br>
Disabled <input type="text" name="" placeholder="isim gir" disabled=""> <br><br>
e-Mail <input type="email" name=""> <br><br>
Numaranız <input type="number" name=""> <br><br>
Şifreniz <input type="password" name=""> <br><br>
Hakları Onayla <input type="radio" name=""> <br><br>
Hakları Onayla 2 <input type="checkbox" name=""> <br><br>
Kimliğini Yükle <input type="file" multiple="" name=""> <br><br> <!-- mutliple kodu çoklu seçtirir. -->
text area <textarea rows="10" cols="100" placeholder="doldur lan köle"></textarea> <br><br>
selectbox <select>
<option>Seçim Yap</option>
<option>Seçim 1</option>
<option>Seçim 2</option>
<option selected="">Hazırda Seçili Olan Kısım</option>
</select> <br><br>
Submit <input type="submit" value="Onayla" name="">
</form>