# Static HTML

A static website starter in plain HTML, CSS and vanilla JavaScript, with no framework, no npm packages and no build step. It is a two-page site (home and about) with a shared header, navigation and footer, for anyone who wants a site they can edit by hand.

- Framework: Static HTML (HTML)
- Category: Websites / Landing pages
- Creates: a static site
- Plan: Free
- Price: Free
- Author: Light Cloud
- Page: https://templates.light-cloud.com/websites/landing/static-html-website-starter
- Updated: 2026-11-21

## Features

- No package.json and no build step: open index.html in a browser to work on it
- Two pages, index.html and about.html, with the same header, navigation and footer
- A labelled nav element and aria-current="page" on the active link
- A page title and meta description on every page
- Styles split into base.css (tokens, reset, type), layout.css and components.css
- One deferred script, assets/js/main.js, for the counter on the home page
- Relative links, so the site works from any folder, host or subpath

## What you need

- Free plan: it builds to a static site, which the Free plan hosts with no limit on sites
- To run it locally: a web browser, and Python 3 if you want a local server
- No API keys: it starts with nothing to configure

## About

Each page is a complete HTML file linking three stylesheets and one deferred script, so what you see in the editor is what the browser gets. The colours and fonts are custom properties in the :root rule of assets/css/base.css, which the layout and component styles read. Change those first, then rewrite index.html and about.html; the navigation is copied into each page, so update it in every file when you add one. There is no build command, so the repository root is served as it is, /about comes from about.html, and each push to your copy redeploys.

## Questions

### Is there a free static HTML website template with no build step?

Yes. This starter is plain HTML, CSS and JavaScript with no dependencies, MIT licensed, and works by opening index.html in a browser.

### How do I add a page to a static HTML website?

Copy about.html to a new file such as contact.html, change its title, meta description and content, and add a link to it in the nav of every page. Set aria-current="page" on the link for the page you are on.

### Do I need Node.js or npm for this template?

No. There is no package.json and nothing to build. A text editor and a browser are enough; Python is only for an optional local server with python3 -m http.server 8080.

### Can I host this HTML site without Light Cloud?

Yes. Upload the folder, without .git, to GitHub Pages, Netlify, Cloudflare Pages, S3, nginx or Apache. There is no client-side routing, so no rewrite rules are needed.

### When should I move from plain HTML to a static site generator?

When copying the header into every page gets tedious or you want Markdown posts. The Astro and Eleventy blog starters still output static HTML, with shared layouts.
