Discussion

Ask HN: Minimal html code to make a black page

This is totally pointless, but can you feed a browser any code smaller than the example below that will produce a fully black page?

The smallest code I could work out is:

   <body bgcolor=black>

Although I'm fully aware bgcolor is deprecated since HTML 4.1 this still produces a black page in almost any browser today (2018).
2 points glaberficken 8 years ago 3 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton