XHTML solution:
(XHTML解决方案:)
<input type="radio" name="imgsel" value="" checked="checked" />
Please note, that the actual value of checked
attribute does not actually matter;
(请注意, checked
属性的实际值实际上并不重要;)
it's just a convention to assign "checked"
. (它只是一个分配"checked"
的约定。)
Most importantly, strings like "true"
or "false"
don't have any special meaning. (最重要的是,像"true"
或"false"
这样的字符串没有任何特殊含义。)
If you don't aim for XHTML conformance, you can simplify the code to:
(如果您不瞄准XHTML一致性,则可以将代码简化为:)
<input type="radio" name="imgsel" value="" checked>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…