What are the side effects of using multiple instances of a single id name in HTML?

Posted by user278457 on Stack Overflow See other posts from Stack Overflow or by user278457
Published on 2010-03-21T12:39:28Z Indexed on 2010/03/21 12:41 UTC
Read the original article Hit count: 176

Filed under:
|

Just curious to find out exactly what problems I'll cause myself if I include multiple elements in my web-page with the same id?

for example:

<div id='someID'>Some Content</div>
<div id='someID'>Some Other Content</div>

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about html