Html: Difference between revisions

From 太極
Jump to navigation Jump to search
(Created page with "= Some useful html tags = * label: http://www.w3schools.com/tags/tag_label.asp = PHP =")
 
Line 1: Line 1:
= Some useful html tags =
= Some useful html tags =
* label: http://www.w3schools.com/tags/tag_label.asp
* [http://www.w3schools.com/tags/tag_label.asp label]
 
<pre>
<form action="demo_form.asp">
  <label for="male">Male</label>
  <input type="radio" name="sex" id="male" value="male"><br>
  <label for="female">Female</label>
  <input type="radio" name="sex" id="female" value="female"><br>
  <input type="submit" value="Submit">
</form>
</pre>


= PHP =
= PHP =

Revision as of 11:29, 16 November 2012

Some useful html tags

<form action="demo_form.asp">
  <label for="male">Male</label>
  <input type="radio" name="sex" id="male" value="male"><br>
  <label for="female">Female</label>
  <input type="radio" name="sex" id="female" value="female"><br>
  <input type="submit" value="Submit">
</form>

PHP