HTML Code Generator
Build a starter HTML5 document by toggling common options, live.
100% private, runs in your browser
HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Page</title>
<link rel="icon" href="/favicon.ico" />
</head>
<body>
</body>
</html>Builds a starter HTML5 document live as you toggle options. Runs entirely in your browser.
What is HTML Code Generator?
Toggle common starting options — charset, viewport meta, a description tag, a favicon link — and get a ready-to-use HTML5 boilerplate instantly, instead of retyping the same starter document from scratch.
FAQ
This generates a starting boilerplate with common head elements; add your own body content and any additional head tags after copying it out.