linkedin facebook linkedin facebook nod32

Form teglari

Muallif: Mengliyev Sh.

Qo`shilgan sana: 2015-02-06

Form teglari

Formalar tashkil qilish form elementi yordamida amalga oshiriladi va biz uning umumiy ko‘rinishi bilan tanishib chiqamiz.
Umumiy ko‘rinishi:

Sintaksis : <FORM>…</FORM> (Blokli element)

Atributlar: id, class, style, title, lang, dir,xodisa

           action = URL (formalarni qayta ishlash uchun ko‘rsatilgan URL manzil)

           method = get | post (formalardagi ma’lumotlarni jo‘natish uchun HTTP metodi)

           enctype =      fayl tipi(formaga murojat qilish uchun)

           accept =  fayllar tiplari (bo‘lishi mumkin bo‘lgan fayllar tiplari)

           accept-charset = kodlashtirishlar (bo‘lishi mumkin bo‘lgan simvollarni kodlash usullari)

           name =       CDATA (ssenariya uchun forma nomi)

           target =       freym (natijalarni hosil qilish uchun freym)

           onsubmit = ssenariya (formani jo‘natish)

           onreset =     ssenariya (formani qaytadan o‘rnatish)

Misol:
<html>
<head>
<title>Formalarga doir misol</title>
</head>
<body>
<form action="http://maks//cgi/person.exe" method=”post”>
<p>
<label for=”firstname”> ism: </label>
<input type=”text” id=”firstname”>
<br>
<label for=”lastname”> familiya: </label>
<input type=”text” id=”lastname”>
<br>
<label for=”email”> e-mail: </label>
<input type=”text” id=”mail”>
<br>
<input type=”radio” name=”sex” value=”male” checked=”checked ”> erkak <br>
<input type=”radio” name=”sex” value=”femole”> ayol <br>
<input type=”submit” value=”send”>
<input type=”reset” value=”Reset”>
</p>
</form>
</body>
</html>

1068 marta o`qildi.

Foydalanuvchi ismi: 203 Ergashev Boboxon
Qo`shilgan sana: 2015-04-18

Yaxshi

Parol:
Eslab qolish.


Ro`yhatdan o`tish

testing

+998915878681

Siz o`z maxsulotingizni 3D reklama ko`rinishda bo`lishini xohlaysizmi? Unda xamkorlik qilamiz.

3D Reklama


Рейтинг@Mail.ru
Рейтинг@Mail.ru

Besucherzahler
счетчик посещений