HTML & CSS playground
The HTML box already has code. How should we add the skeleton?
Basic HTML document structure
Every web page starts from this skeleton. The result panel adds it for you when you leave it out, but a file you publish needs it.
<!DOCTYPE html>- Draws the page in standard mode, so CSS works the same in every browser.
<html lang="en">- Tells screen readers, translators and search engines which language the page is in.
<meta charset="UTF-8">- Reads Korean and other letters correctly so they do not break.
<meta name="viewport">- Makes the page fit phone screens instead of showing a tiny desktop page.
<title>- The name in the browser tab and the title in search results.
<header> <main> <footer>- Split the page into top, main content and bottom so people and tools understand the layout.
When to use it · Use it when you start a new page or before you download your code as a file.
Press Check to look for problems.
console.log output and errors from the result show up here.
Type HTML, CSS and JavaScript and see the result as you type. Check shows problems by line. Free, no sign-up.
What you save or download is logged with your IP address to stop illegal use. Log in and the code you save stays in My menu until you delete it. Without logging in, saved code is deleted 30 days after the last save. Log in
What you can do here
- See the result right away at phone, tablet or PC width.
- Check finds unclosed tags, duplicate ids, missing alt text, unknown CSS properties, wrong values, low contrast and JavaScript syntax errors. Click a line to jump to it.
- Save to get a short link. Send the view link to others and keep the edit link for yourself.
- Download one HTML file or a zip with index.html, style.css and script.js.
Where HTML, CSS and JavaScript came from
HTML was created by Tim Berners-Lee together with the web itself at CERN, the European particle physics lab in Geneva. He first proposed the web in March 1989, had the first server and browser running at the end of 1990, and released the software to the outside world in 1991. HTML 2.0 (RFC 1866) became the first standard in 1995. W3C, founded in 1994, and WHATWG, started in 2004 by people from browser makers, then published separate versions until a 2019 agreement left the WHATWG HTML Living Standard as the only one.
CSS started with a first draft by Håkon Wium Lie at CERN in October 1994, and Bert Bos joined him to shape it. W3C published CSS1 as a Recommendation in December 1996 and CSS2 in May 1998; today the W3C CSS Working Group writes it as separate modules. JavaScript was prototyped in ten days by Brendan Eich at Netscape in May 1995, shipped in a browser beta that September as LiveScript and was renamed JavaScript in December. Its standard name is ECMAScript: ECMA-262 first came out in June 1997, and Ecma TC39 has published a new edition every year since 2015 (the latest is ES2026, June 2026).
| Language | Where and when it started | Who defines it now | What it does on a page |
|---|---|---|---|
| HTML | CERN, Tim Berners-Lee (proposed 1989, public 1991) | WHATWG HTML Living Standard | Structure and content: headings, paragraphs, links, form fields |
| CSS | CERN, Håkon Wium Lie and Bert Bos (draft 1994, CSS1 1996) | W3C CSS Working Group | Colour, fonts, layout, fitting phone screens |
| JavaScript | Netscape, Brendan Eich (1995) | Ecma TC39, ECMA-262 (new edition yearly) | Behaviour on clicks and input; servers too (Node.js) |
If you are new, open a starter example and change only the HTML first, then use CSS for colour and layout, and finally add a button action in JavaScript. Fixing the lines Check points at is a quick way to learn tag and property names. For server-side code, carry on with PHP or Python in the coding lessons.
HTML reference CSS reference F12 developer tools Learn to code
Questions people ask
Do I need to sign up?
No. Writing, running, checking and sharing are free and work without an account. If you log in, the code you save stays in My menu until you delete it.
How long do you keep saved code?
Code saved without logging in is deleted 30 days after it was last saved. Code saved while logged in stays until you delete it. Each save keeps up to 5 earlier versions you can go back to.
Is it safe to open code someone else shared?
The result runs on a separate address in a locked frame, so the code cannot read your AppDogu login, send forms or open new windows. Code with a password field cannot be shared by link.
What does Check look for?
In HTML it finds unclosed or wrongly closed tags, duplicate ids, images without alt text, inputs without labels and old tags. In CSS it finds unknown properties, wrong values, missing units and selectors your HTML does not use. In JavaScript it finds syntax errors. It also warns about text with low contrast.
Can I add a library such as a CSS framework?
Yes. In Settings, add the address of a CSS or JS file that has a version number in it. Only a few public library addresses are allowed, and the list is shown there.