<?xml version="1.0" encoding="utf-8"?>

Ids are case sensitive

Ids are case sensitive Bad Practice
Ids are case sensitive Best Practice

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.

Improve your UX & Product skills with interactive courses that actually work