hover colour change html w3schools code example Example: css hover .a:hover{background-color: black;}