Quick

HTML Boilerplate Generator

Generate a clean, valid HTML5 starter page with the extras you choose: viewport, description, stylesheet, deferred script, favicon, reset and social tags.

Advertisement

About this tool

Tick the options you want, edit the title and file names, and the document updates as you type. Copy it into your editor or download it as index.html. Everything you type is escaped, so a title such as “Fish & Chips” produces valid HTML.

The output follows current good practice: a language code (use en-GB for British English, which helps screen readers and translation tools), the viewport tag mobile browsers need, and a meta description for search results. Scripts are linked in the <head> with defer, so they download straight away but run only once the page has been read. The optional reset is deliberately light and keeps list bullets and link underlines, which help usability. The Open Graph tags include a placeholder image address to replace with your own; the Social Share Card Previewer shows how they'll look.