When you delete a photo or video from Photos on iCloud.com, it is also removed from all of your devices that have iCloud Photos turned on. If you change your mind, you have 30 days to get it back before it's deleted forever.