Ids are case sensitive
Id values are case sensitive — this means that capitalizing letters will change the value. For example, id="Header"
and id="header"
are two ids with different values. When assigning ids and using them as selectors, make sure you're using the right case.
Using characters might cause compatibility problems in some cases, so it's best to stick to letters ASCII letters,[1] digits, "_", "-" and "." for id values.