When a user inputs a string into a standard HTML input field (type="text"), such as "2013/13/29", and validation reveals that the number 13 is invalid in this context, I would like to visually highlight it by changing its background color to red while turning all other characters' backgrounds green. Is there a way to achieve this effect using HTML? Maybe by utilizing a span element within the input tag.