<!DOCTYPE html>
<html>
<head>
<title>HTML fieldset tag</title>
</head>
<body>
<fieldset>
<legend>Gender</legend>
<input type="radio" name="gender" id="male" value="male" checked="checked"/>
<label for="male">Male</label>
<input type="radio" name="gender" id="female" value="female"/>
<label for="female">Female</label>
</fieldset>
</body>
</html>