td cell hover code example Example: how to hover over an individual cell in table css td:hover { background-color: #ff0000; color: #000000; }