HTML Template Setup
Last updated 2026-11-17
HTML templates are static files, so you can host them almost anywhere. This guide covers the usual workflow.
1. Unzip and look around
Unzip the download. You will normally find an index.html page, a folder for CSS, a folder for JavaScript and a folder for images and fonts. Keep the folder structure unchanged until you understand it.
2. Edit the content
- Open the pages in a code editor and replace the sample text, images and links.
- Change the page title and meta description on every page.
- Replace placeholder images with your own, and keep their width and height attributes so the layout does not jump.
- Add descriptive alternative text to meaningful images.
3. Test locally
Open index.html in your browser, or use a simple local web server if the template loads files with scripts. Check every page on a phone-sized screen and a desktop screen.
4. Optimize
- Compress images and remove files you do not use.
- Keep only the fonts and scripts you need.
5. Publish
Upload the files to your web host with its file manager or SFTP, or deploy the folder with a static hosting provider. Make sure index.html sits in the site root.
Forms
A static template has no server, so contact forms need a form service or your own backend. Connect one before publishing, and test it.
See also Choosing a product.