put two files in a <img>

Asked

Viewed 18 times

0

is there a possibility in case the first file is broken or corrupted display the second file? example:

<img src="teste1.png" src2="teste2.png">
  • Yes, it is possible. The answer can be seen here: https://answall.com/questions/167058/howto uploadStandards-caso-src-find

  • thank you very much! for what I saw the "onerror" would be the solution...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.