Creating Radio Button in Html
Open Notepad type code as given .
<HTML>
<HEAD>
<TITLE> Radio Button in Html </TITLE>
</HEAD>
<BODY>
<FORM>
<BR><BR>
<BR><BR>
<H2> Gender </H2>
<INPUT TYPE = "RADIO" NAME = "Gender" VALUE = "Male" CHECKED> <B> Male </B>
<BR>
<INPUT TYPE = "RADIO" NAME = "Gender" VALUE = "Female"> <B> Female </B>
</Form>
</BODY>
</HTML>
Save the document as .html or .htm format. Open in your browser.
Output:
Figure 1
For more tutorials log on to www.itechtalk.com
![]()
![]()
![]()


LinkBack URL
About LinkBacks
Reply With Quote

LinkBacks Enabled by vBSEO
Bookmarks