Even if the element isn't a standard HTML link (like an tag), it will act like one to the user, signaling that clicking it will trigger an action. cursor CSS property - MDN Web Docs
The cursor typically transforms into a hand icon (pointing finger).
It only works on inline , inline-block , or table-cell elements. If applied to a "block" element (like a standard or ), it will have no effect unless that element's display type is changed. 2. cursor: pointer;
Even if the element isn't a standard HTML link (like an tag), it will act like one to the user, signaling that clicking it will trigger an action. cursor CSS property - MDN Web Docs
The cursor typically transforms into a hand icon (pointing finger).
It only works on inline , inline-block , or table-cell elements. If applied to a "block" element (like a standard or ), it will have no effect unless that element's display type is changed. 2. cursor: pointer;