Jumat, 08 November 2024

Sample RadioButton List HTML 1

  • type this following website source code in website editor:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title>Sample RadioButton List HTML 1</title></head>
<body>
<p>&nbsp;Which of the following best describes your current employment status? Select that apply to you.*</p>
<form action="#">
<input type="radio" value="employedfulltime" name="employmentstatus" id="employedfulltime"> <label for="employedfulltime">Employed, full-time</label>
<br />br /> <input type="radio" value="employedparttime" name="employmentstatus" id="employedparttime"> <label for="employedparttime">Employed, part-time</label>
<br />
<input type="radio" value="independent" name="employmentstatus" id="independent"> <label for="independent">     Independent contractor, freelancer, or self-employed </label>
<br />
<input type="radio" value="unemployee" name="employmentstatus" id="unemployee"> <label for="unemployee">     Not employed, but looking for work </label>
<br />
<input type="radio" value="notlookingforwork" name="employmentstatus" id="notlookingforwork"> <label for="notlookingforwork">     Not employed, and not looking for work </label>
<br />
<input type="radio" value="studentfull" name="employmentstatus" id="studentfull"> <label for="studentfull">     Student, full-time </label>
<br />
<input type="radio" value="studentparttime" name="employmentstatus" id="studentparttime"> <label for="studentparttime">     Student, part-time </label>
<br />
<input type="radio" value="retired" name="employmentstatus" id="retired"> <label for="retired">Retired</label>
<br />
<input type="radio" value="nottosay" name="employmentstatus" id="nottosay"> <label for="nottosay">I prefer not to say</label>
<br />
</form>
<p>Next Question &gt;</p> </body> </html>
  • Save file as sampleRadioButtonHTML1.html.
  • Then open output in Internet Browser, such as Google Chrome.

Output

 Which of the following best describes your current employment status? Select that apply to you.*










Next Question >

Related Post


Tidak ada komentar:

Posting Komentar

Various Other Posts