Welcome. That was detected on a website and blocked. It never made it to your PC. "Infected" refers to the blocked item, it does not refer to the PC. Main Kaspersky window is green, not red, and Detected > Active threats is empty, all is good.
You can right click that detection and select Clear or remove or Delete from the list.