Naming "class" and "id" HTML attributes - dashes vs. underlines
Posted
by Emanuil
on Stack Overflow
See other posts from Stack Overflow
or by Emanuil
Published on 2009-11-08T15:28:55Z
Indexed on
2010/04/04
16:43 UTC
Read the original article
Hit count: 199
<div id="example-value"> or <div id="example_value">?
This site and Twitter use the first style. Facebook and Vimeo - the second.
Which one do you use and why?
© Stack Overflow or respective owner