Answers for "img alternate source if not found"

1

alternative image in img tag

<img src="https://imageurl.com" alt="Image not found" onerror="this.src='https://alternativeimageurl.com'" />
Posted by: Guest on September-02-2020

Browse Popular Code Answers by Language