I want to display img1.png. However, if there's an error finding the file, I want the backup missing.png to appear instead. Is there a way in HTML to have if statements or exceptions?
<try>?
<img src="img1.png">
<except error 404>?
<img src="missing.png">
I put a question mark on all the lines that I don't understand what to do.