As early as in the blue forum, I conducted a survey on the CSS naming rules you used (single choice). The survey results are as follows (83 participants ):
- Helloworld 2 (2.41%)
- Hello-World 9 (10.84%)
- Hello_world 52 (62.65%)
- Helloworld 19 (22.89%)
- Helloworld 1 (0, 1.20%)
- Other 0 (0.00%)
From the results, we can see that the best use rate is the "hello_world" method, the second is the "helloworld" method, and the second is the "hello-World" method ). In other languages, the Pascal and Hungary naming rules are rarely used in CSS naming rules.
The final results of the survey do not indicate who is right or wrong, but reflect a preference. However, more people have some preferences, but they also highlight their preferences in some places. It provides a better choice for beginners.
Preference is your own. "Let others talk about your own path.", hey ......