减小字体 增大字体
] 源码如下----------------------------------------------------------<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>html-www.51windows.Net</title></head><body><SCRIPT LANGUAGE="JavaScript">function check(form) {var checkit = falsefor (var i=0;i<form.sel.length;i++) {if (form.sel[i].checked) {checkit=true;break}}if (checkit) {return true} else {alert("please select one");return false}}</SCRIPT><form name="form1" onsubmit="return check(this)"><input name="sel" type="radio" value="selA">A<input name="sel" type="radio" value="selB">B<input name="sel" type="radio" value="selC">C<INPUT TYPE="submit" VALUE="submit"></form></body></html>
[提示:你可先按照下面代码提示修改 上面部分代码,再按运行,此处看到的演示不完全正确]