In using CSS is it best practice to use a div id only once per page. I know each id has to be unique but could be used multiple times. A discussion with my development team and it came up that one person was under the impression that you could only use the div id tag once per page.
Example of 1 id per page:
<page>
<div id="test">Some Text</div>
<div class="test12">More Text</div>
</page>
Example of multiple id's per page:
<page>
<div id="test">Some Text</div>
<div id="test12">More Text</div>
</page>
I hope that's clear enough. If not let me know and I can try to explain it better.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…