<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
<div class="container">
<img src="https://preview.redd.it/kjr580lc78j11.jpg?width=960&crop=smart&auto=webp&s=96a98dc8599a7fc3e48209e49c9269472aaf96fc" alt="Spring Doggo" />
<img class="one" src="https://example.com/broken.png" alt="Spring Doggo" />
<img class="two" src="https://example.com/broken.png" alt="Spring Doggo" />
</div>
<p>Two ways of giving custom style to broken images without JavaScript.</p>
<p>First: working image.</p>
<p>Second: fallback using SVG.</p>
<p>Third: fallback using FontAwesome icon and the alt text.</p>
<p>Of course it doesn't work in Safari</p>