<strong>10.web標準中定義id與class有什麼差別嗎</strong> <br><div class="htmlarea"> <textarea id="runcode54285"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style type="text/css"> <!-- #aa { color:red } .aa { color:blue } --> </style> <div id="aa" class="aa"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div> </textarea><br><input onclick="runEx('runcode54285')" type="button" value="杩"> </div>