Ankara Üniversitesi
Nallıhan Meslek Yüksekokulu
Formlarla Çalışmak
NB P122 W E B GE L I ŞT IR ME OR T AML AR I ÖĞR . GÖR . DR . UFUK T ANYE R I
Formlar
HTML <form> öğesi, kullanıcı girişini toplamak için kullanılan bir formu tanımlamaktadır.
<form>
.
form elemanları .
</form>
HTML formunda form öğeleri bulunur.
Form öğeleri, metin alanları, onay kutuları, radyo düğmeleri, gönderme düğmeleri ve daha fazlası gibi farklı türde giriş öğeleridir.
HTML Form Öğeleri
<input>
<select>
<textarea>
<button>
HTML5 ile de aşağıdaki form öğeleri eklenmiştir:
<datalist>
<output>
HTML Input Türleri
<input type="button">
<input type="checkbox">
<input type="color">
<input type="date">
<input type="datetime-local">
<input type="email">
<input type="file">
<input type="hidden">
<input type="image">
<input type="month">
<input type="number">
<input type="password">
<input type="radio">
<input type="range">
<input type="reset">
<input type="search">
<input type="submit">
<input type="tel">
<input type="text">
<input type="time">
<input type="url">
<input type="week">
HTML Input Nitelikleri
value readonly disabled size
maxlength
HTML 5 ile yeni gelenler autocomplete
autofocus form
formaction formenctype
ormmethod formnovalidate formtarget
height and width list
min and max multiple
pattern (regexp) placeholder required step
Formun Oluşturulması
Formlar panelinden form ve öğeleri oluşturulabilir
Form Özellikleri
Form Öğelerinin Özellikleri
Seçilen form elemanlarının özellikleri, Özellikler
panelinde detaylı şekilde çıkmaktadır.