HTML教程
checked
表单
属性示例
计算机
旅游
购物
<head>
<title>HTML checked 属性示例 -- HTML教程,XHTML教程</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <p><a href="http://www.dreamdu.com/xhtml/">HTML教程</a> <a href="http://www.dreamdu.com/xhtml/attribute_checked/"><strong>checked</strong></a> <a href="http://www.dreamdu.com/xhtml/form/">表单</a>属性示例</p> <form id="dreamduform" action="http://www.dreamdu.com/dreamdu.php" method="post" enctype="multipart/form-data"> <label for="fav">计算机</label> <input type="checkbox" value="1" id="fav" name="fav" /> <label for="fav">旅游</label> <input type="checkbox" value="2" id="fav" name="fav" /> <label for="fav">购物</label> <input type="checkbox" value="3" id="fav" name="fav" checked="checked" /> </form> </body> </html>