COMPUTER LECTURES

HOME About us HTML ONLINE CODE EDITOR CONTACT US
HTML | INPUT TYPE "RADIO BUTTON"

SYNTAX

OPENING TAG CLOSING TAG
<input>

input type radio Tag in HTML

<input type="radio" value=" ">

Example : input type radio.html

<!DOCTYPE html>
<html>
<title>Computer lectures | input type radio</title>
<body>
<form>

Male<input type="radio" name="computerlectures_option">
Female<input type="radio" name="computerlectures_option" checked>
Other<input type="radio" name="computerlectures_option">

<form>
</body>
</html>

The output on the web broswer

Input type radio button