I have some s in my webpage, is th开发者_如何学JAVAere anything wrong with sometimes using the same name as the classname and id? Something like:
<div id='foo' class='foo'>hello</div>
just wondering -
Thanks
Using identical IDs and class names will not give you any problems as long as the id
attribute is unique.
精彩评论