Yes, it’s valid.
But you will make things difficult for yourself if you need to access them via JS or CSS in particular. Again, it can be done, but it will make things difficult.
My advice is to use a hyphen instead.
Yes, it’s valid.
But you will make things difficult for yourself if you need to access them via JS or CSS in particular. Again, it can be done, but it will make things difficult.
My advice is to use a hyphen instead.