+ 5
Why <code> & <pre> can't to display code html tags in output display
(i.e) <pre> <img src="pic.jpg"/></pre> will display image, instead code, same result to <code>
2 Respuestas
+ 6
You have to use HTML special characters for that.
<pre>
<img src="myimg.jpg" />
</pre>
If you don't want to use that you can use <xmp> tag.
<xmp>
<img src="myimg.jpg" />
</xmp>
+ 3
Thanks 🔫 Rick Grimes !