I’m trying to make a single-file HTML test case for something + part of the test case involves IMG tags; is there any way to inline a 1×1 pixel image (either statically in HTML or dynamically via Javascript) without having to refer to an external image?
It’s not a huge deal, but if there’s an easy way to do this, it would make it easier for me to manage this test case.
You can embed the image data using the Data URI Scheme