Hi,
I have some s in my webpage, is there 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
Hi,
I have some s in my webpage, is there 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.