Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form code (HTML)
#1
Përshendetje,sot do tju tregoj se si të bëjmë një Form code me anë të HTML.Hapim një notepad dhe shënojmë këto code:

Quote:<form action="/html/tags/html_form_tag_action.cfm" method="get">
<fieldset>
<legend>Të dhënat</legend>
<div>


<label for="first_name">Emri dhe Mbiemri:</label><br>
<input type="text" name="first_name" value="" maxlength="100" /><br>
</div>
<div>
<label for="lunch">Cila makinë ju pëlqen</label><br>
<input type="radio" name="lunch" value="BMW" /> BMW
<input type="radio" name="lunch" value="bugati" /> bugati
</div>
<div>
<label for="drinks">Cila pije ju pëlqen</label><br>
<input type="checkbox" name="drinks" value="Coca Cola" /> Coca Cola
<input type="checkbox" name="drinks" value="Rc Cola" /> Rc Cola
</div>
<div>
<label for="city">Qyteti i preferuar:</label><br>
<select name="city">
</option>
<option value ="prishtinë">Prishtinë</option>
<option value ="mitrovicë">Mitrovicë</option>
<option value ="prizren">Prizëren</option>
</select>
</div>
<div>
<label for="comments">Komenti:</label><br>
<textarea rows="3" cols="20" name="comments"></textarea>
</div>
<div>
<input type="submit" value="Dërgo" />
</div>
</fieldset>
</form>


Dhe e ruajmë në formatin index.html

[Image: OhXScTx.png]
[Image: 76561198089806203.png]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:


Messages In This Thread
Form code (HTML) - by psyman - 09-25-2023, 05:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)