Logo Facebook8    Logo Youtube12    Logo Google     Logo twitter

Lectia 10 HTML | Formular

Formularul este unul dintre cele mai importante unelte folosite de un webmaster pentru a obtine informatii importante despre un internaut, informatii precum email, nume, adressa, telefon sau orice alte informaii.

Pentru a crea un formular avem nevoie de eticheta <form>.
Atributele etichetei <form> sunt urmatoarele:
- method | se introduce metoda prin care vor fi trimise informatiile:
get care poate trimite o cantitate mica de informatie si post care poate trimite o cantitate mai mare.


- action | se introduce URL-ul unde va fi trimisa informatia

Pentru a crea elementele formularului avem nevoie de eticheta <imput>.
Atributele etichetei <imput> sunt urmatoarele:
- type | determina tipul elementului care poate fi:
1.text - va crea o casuta de text;
2.password - va crea o casuta pentru parola;
3.submit - va crea un buton pentru trimiterea datelor;
4.button - va crea un buton simplu;
5.radio - va crea un radio buton (utilizatorul poate alege o singura optiune);
6.checkbox - va crea o casuta de bifat (utilizatorul poate alege mai multe optiuni);
7.reset - va crea un buton care are rolul de a reincarca pagina;
8.file - va crea o casuta de upload;

- name | numele campului de text;
- size | marimea campului de text;
- maxlength | valoarea maxima de caractere care pot fi introduse;
- value | valoarea casutei;
- checked | specifica daca o casuta este bifata sau nu;
- disabled | casuta va fi afisata dar nu va putea fi folosita;

Pentru mesaje mai lungi se pot folosi etichetele <textarea> </textarea>.
Prin folosirea acestor etichete, se va crea o casuta mai mare unde se va introduce mesajul dorit.
Atributele etichetei <textarea> sunt urmatoarele:
- name | numele casutei;
- cols | specifica pe cate coloane se va intinde casuta;
- row | specifica pe cate randuri se va intinde casuta;

    EXEMPLU:

 

<html>

<head>
<title>Untitled 1</title>
</head>
<body bgcolor="yellow">

<form method="post" action="adresa">

Username: <input type="text" name="nume" size="9" maxlenght="20"><br />
Password: <input type="password" name="parola" size="9" maxlenght="20"><br />

<input type="submit" value="Send"> </form>

</form>

</body>

</html>

Username:
Password:

   

Acest site foloseste cookie-uri.

Folosim cookie-uri pentru a vă asigura că aveti cea mai bună experiență pe acest site.

I understand
DESPRE NOI
World-IT este un site care are ca domeniu Tehnologia Informatiei(IT).
Acest site are ca prim scop introducerea persoanelor in acest domeniu. Mai multe informatii aici.

URMARESTE-NE 
Logo Facebook8  Logo Youtube12   Logo Google  Logo twitter

Sitemap | Despre noi

Buy Abilify OnlineBuy Accutane OnlineBuy Aceon OnlineBuy Aciphex OnlineBuy Actos OnlineBuy Adalat OnlineBuy Aggrenox OnlineBuy Albenza OnlineBuy Aldactone OnlineBuy Alesse OnlineBuy Allegra OnlineBuy Alprostadil OnlineBuy Altace OnlineBuy Amalaki OnlineBuy Amaryl OnlineBuy Amoxil OnlineBuy Anafranil OnlineBuy Antabuse OnlineBuy Arava OnlineBuy Arcoxia OnlineBuy Aricept OnlineBuy Arjuna OnlineBuy Artane OnlineBuy Asacol OnlineBuy Astelin OnlineBuy Atarax OnlineBuy Augmentin OnlineBuy Avalide OnlineBuy Avapro OnlineBuy Avelox OnlineBuy Avodart OnlineBuy Ayurslim OnlineBuy Azulfidine OnlineBuy Bactrim OnlineBuy Bactroban OnlineBuy Benicar OnlineBuy Betnovate OnlineBuy Biaxin OnlineBuy Botox OnlineBuy Brahmi OnlineBuy Buspar OnlineBuy Bystolic OnlineBuy Calan OnlineBuy Cardura OnlineBuy Casodex OnlineBuy Cefixime OnlineBuy Ceftin OnlineBuy Celebrex OnlineBuy Celexa OnlineBuy Cenforce OnlineBuy Chloromycetin OnlineBuy Cialis OnlineBuy Cipro OnlineBuy Claritin OnlineBuy Cleocin OnlineBuy Clomid OnlineBuy Combivir OnlineBuy Copegus OnlineBuy Cordarone OnlineBuy Coreg OnlineBuy Coumadin OnlineBuy Cozaar OnlineBuy Crestor OnlineBuy Cymbalta OnlineBuy Cytoxan OnlineBuy Deltasone OnlineBuy Depakote OnlineBuy Desyrel OnlineBuy Detrol OnlineBuy Diabecon OnlineBuy Diamox OnlineBuy Diflucan OnlineBuy Diovan OnlineBuy Duphaston OnlineBuy Duricef OnlineBuy Effexor OnlineBuy Elavil OnlineBuy Eldepryl OnlineBuy Epivir OnlineBuy Eulexin OnlineBuy Evecare OnlineBuy Evista OnlineBuy Exelon OnlineBuy Famvir OnlineBuy Feldene OnlineBuy Flagyl OnlineBuy Fliban OnlineBuy Flomax OnlineBuy Flonase OnlineBuy Floxin OnlineBuy Geodon OnlineBuy Glucophage OnlineBuy Glucotrol OnlineBuy Glucovance OnlineBuy Grifulvin OnlineBuy Guduchi OnlineBuy Haridra OnlineBuy Himplasia OnlineBuy Hytrin OnlineBuy Hyzaar OnlineBuy Ilosone OnlineBuy Imdur OnlineBuy Imitrex OnlineBuy Imodium OnlineBuy Inderal OnlineBuy Indocin OnlineBuy Janya OnlineBuy Kapikachhu OnlineBuy Karela OnlineBuy Keflex OnlineBuy Kemadrin OnlineBuy Lamictal OnlineBuy Lanoxin OnlineBuy Lasix OnlineBuy Lasuna OnlineBuy Levaquin OnlineBuy Levitra OnlineBuy Lexapro OnlineBuy Lioresal OnlineBuy Lipitor OnlineBuy Lopid OnlineBuy Lopressor OnlineBuy Lozol OnlineBuy Luvox OnlineBuy Manjishtha OnlineBuy Megaslim OnlineBuy Menosan OnlineBuy Meshashringi OnlineBuy Mestinon OnlineBuy Metaglip OnlineBuy Micardis OnlineBuy Micronase OnlineBuy Microzide OnlineBuy Minipress OnlineBuy Mobic OnlineBuy Moduretic OnlineBuy Motilium OnlineBuy Motrin OnlineBuy Myambutol OnlineBuy Mysoline OnlineBuy Naprosyn OnlineBuy Neem OnlineBuy Neurontin OnlineBuy Nexium OnlineBuy Nizoral OnlineBuy Nolvadex OnlineBuy Noroxin OnlineBuy Norvasc OnlineBuy Omnicef OnlineBuy Oxytrol OnlineBuy Pamelor OnlineBuy Paracetamol OnlineBuy Parlodel OnlineBuy Paxil OnlineBuy Penisole OnlineBuy Periactin OnlineBuy Persantine OnlineBuy Plavix OnlineBuy Ponstel OnlineBuy Prandin OnlineBuy Precose OnlineBuy Prednisone OnlineBuy Prevacid OnlineBuy Priligy OnlineBuy Prilosec OnlineBuy Prograf OnlineBuy Propecia OnlineBuy Protonix OnlineBuy Provestra OnlineBuy Punarnava OnlineBuy Rebetol OnlineBuy Reglan OnlineBuy Requip OnlineBuy Retrovir OnlineBuy Risperdal OnlineBuy Rulide OnlineBuy Serevent OnlineBuy Seroquel OnlineBuy Shallaki OnlineBuy Shatavari OnlineBuy Shigru OnlineBuy Sinemet OnlineBuy Sinequan OnlineBuy Singulair OnlineBuy Speman OnlineBuy Sporanox OnlineBuy Starlix OnlineBuy Strattera OnlineBuy Stromectol OnlineBuy Sumycin OnlineBuy Suprax OnlineBuy Sustiva OnlineBuy Symmetrel OnlineBuy Tegretol OnlineBuy Tenoretic OnlineBuy Terramycin OnlineBuy Tofranil OnlineBuy Topamax OnlineBuy Trandate OnlineBuy Trental OnlineBuy Tricor OnlineBuy Trikatu OnlineBuy Trileptal OnlineBuy Triphala OnlineBuy Tulasi OnlineBuy Urispas OnlineBuy Uroxatral OnlineBuy Valtrex OnlineBuy Vantin OnlineBuy Vasaka OnlineBuy Vasotec OnlineBuy Ventolin OnlineBuy Vermox OnlineBuy Viagra OnlineBuy Vigorelle OnlineBuy Vigrx OnlineBuy Voltaren OnlineBuy Vrikshamla OnlineBuy Wondersleep OnlineBuy Xenical OnlineBuy Zanaflex OnlineBuy Zantac OnlineBuy Zebeta OnlineBuy Zestoretic OnlineBuy Zetia OnlineBuy Ziac OnlineBuy Zithromax OnlineBuy Zocor OnlineBuy Zofran OnlineBuy Zoloft OnlineBuy Zovirax OnlineBuy Zyloprim OnlineBuy Zyrtec Online