Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How to put a one-page HTML website live for free (no builder, no code)

A one-page website is a single HTML file. If you run a small business, that can be all you need: your name, what you do, a few photos, hours and a way to get in touch. Here is how to edit one and put it online without paying for a site builder. 1. Open the file in a browser Double-click the .html file and it opens in your browser. That is the whole site. Nothing to install. 2. Edit the text Open…

Creating a one-page website requires only a single HTML file. This simple site can serve a small business by featuring its name, services, images, operating hours, and contact information. Follow these steps to edit and publish the site without spending money on a site builder.

First, open the .html file in a web browser. The browser will display the entire site, requiring no additional software installation. Next, edit the text within the file using any text editor. Update the business name, phone number, address, and hours of operation to match your own details. Once saved, refresh the browser to view the updates.

Now, replace the placeholder images with your own photos. Place the images in the same folder as the HTML file and update the image file names within the img tags to correspond with the new files. Ensure the photos are not too large, as smaller files load faster on mobile devices.

To make your website accessible online, choose a free hosting option. Popular choices include GitHub Pages, Netlify Drop, and Cloudflare Pages. To use GitHub Pages, upload the HTML file to a repository and enable the Pages feature in the settings. Netlify Drop allows you to drag the folder onto their page and provides a direct link to your site. Cloudflare Pages enables direct file uploads.

If desired, you can acquire a custom domain. Purchase a domain from any registrar and configure it to point to your chosen hosting service. Each host offers a straightforward guide to completing this setup.

For a starting point, consider downloading a free one-page HTML template designed for small businesses. A barbershop template is available at https://payhip.com/b/ITmMh. Additional templates are available at https://sitekitstudio.gumroad.com.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Basic HTML structure of a webpage

The doctype tag ( ) informs the browser on which type of document is expected and this tag seems to be complicated in older versions of HTML whereas in the latest version ( HTML 5 ) , its simple as…

Test browser profile isolation after attaching Playwright over CDP

When Playwright attaches to Chrome over CDP, it can see the browser's existing context. A script that opens a new tab there inherits that context's first-party storage for the origin.

  • Playwright can inspect browser contexts via CDP
  • New tab inherits context's first-party storage
  • Separate contexts prevent request collisions

The message that retried hundreds of times: a retry loop with no exit

I'm Eric Gitangu. I work on backend systems for a mobility/fintech platform. This is the story of one text message that was retried hundreds of times, and what it took to teach the code to take no for…

  • Retry loop with no exit led to hundreds of SMS message retries
  • Three small decisions caused the issue: no catch, error thrown, progress saved prematurely
  • Catch per recipient, exponential backoff, and "not before" stamp resolved the problem

More from Friday 27 November →