Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

71%
+3 −0
Challenges Plain black webpage

This is a language specific challenge, for HTML only. Your answer is the content of a self contained HTML file, that when opened in a web browser gives a plain black page. Requirements The HTM...

4 answers  ·  posted 11mo ago by trichoplax‭  ·  last activity 11mo ago by Razetime‭

#1: Initial revision by user avatar trichoplax‭ · 2024-01-18T13:50:35Z (11 months ago)
Plain black webpage
This is a language specific challenge, for HTML only.

Your answer is the content of a self contained HTML file, that when opened in a web browser gives a plain black page.

## Requirements
- **The HTML file is self contained.**  
You may use CSS, JS, WASM, or images only if they are contained within the HTML file, not referenced as separate locations such as files or web addresses.
- **The entire page is black.**  
The red, green, and blue components of every pixel are zero.
- **The page works in at least one freely available browser.**  
Here ***freely available*** means it can be legally installed free of charge on an operating system that does not cost money. This ensures answers can be tested without needing to spend money on a browser or operating system.
- **The page works regardless of the default background colour of the browser.**

## Scoring
This is a [code golf challenge]. Your score is the number of bytes in the HTML file. Lowest score wins.

> Explanations are optional, but I'm more likely to upvote answers that have one.


[code golf challenge]: https://codegolf.codidact.com/categories/49/tags/4274 "The code-golf tag"