You design a restaurant website in HTML by building the semantic skeleton first — a clear header with the restaurant's name and contact info, a home page that tells people what you serve and when, a menu page that loads fast and stays readable on a phone, and a reservation or directions page that mirrors how customers actually behave. Then you layer CSS on top for the visual identity and a small amount of JavaScript for the mobile navigation toggle. The condition that matters: HTML alone determines whether the site is usable and accessible; everything else decorates it. Get the skeleton right before you pick fonts.

This guide walks through a complete, order-of-operations build in plain HTML5. It assumes a static approach — no framework, no build step — because a restaurant that updates its menu seasonally rarely needs more machinery than that. If you later outgrow it, the structure you build here transfers cleanly to templating systems.

Before the first tag: decisions that dictate the markup

You can't write meaningful HTML for a restaurant without knowing four things. Decide these first, in writing, because each one changes the markup you produce.

  1. What kind of restaurant is this? A fast-casual counter with no bookings needs no reservation form. A tasting-menu destination needs one prominently. A food truck needs a location-schedule page that changes more often than its menu. The site's page inventory follows from this.

  2. What will customers do on the site, in priority order? For most restaurants, the real behaviors are: check the menu, check hours and location, call or book, and order online. Everything else — the chef's story, the photo gallery, the press quotes — is secondary. Your navigation order should reflect that priority, not the owner's pride of authorship.

  3. Where do hours, prices, and availability live? A static HTML site has no database. That means every menu price and every holiday-hours note is edited in a file and republished. If the restaurant changes specials daily, a static site creates a data-consistency problem you need to plan for.

  4. Do you need online ordering? Almost every third-party ordering platform gives you a snippet (an iframe or embed script) to drop into a page. That's the lowest-friction path; you're not processing payments yourself.

Write these four answers into a short content inventory: every page, every section, every piece of text. That inventory becomes the skeleton of your HTML.

The document skeleton every restaurant page shares

Every page starts with the same HTML5 shell. Here's the minimum viable skeleton, annotated:

Four of these tags do most of the work. lang on the root element tells screen readers and search engines the language; charset prevents mojibake in menu items with accents; viewport is the single most important tag for phone rendering; and the skip link lets keyboard users jump past the navigation. The and are page-specific — never the same title on every page, because that's what users see in browser tabs and search results.

The header, main, and footer elements are semantic landmarks. Screen readers announce them and allow users to jump between them. Don't use a where a landmark element is correct.

Header and navigation: the part users touch first

A restaurant header does one job: let a hungry person on a phone reach the menu, hours, or phone number within a couple of taps. That means the markup must be simple, the order must match visitor priority, and the tap targets must be large enough to hit.

The phone number is a tel: link — on mobile it triggers a call directly, which is what most customers want. The nav order lists menu first. The aria-label distinguishes this navigation from a secondary one you may add later. The logo has explicit width and height attributes; these reserve layout space and prevent the content shift that frustratingly bounces the page while users try to tap.

A mobile menu toggle is the one place a tiny bit of JavaScript is worth adding. The HTML side is this:

The button's aria-expanded state is toggled by JavaScript between false and true. Assistive technology announces the state. A small script of roughly a dozen lines toggles the state and a CSS class on the nav. Keep the JS in a separate file.

One caution: if your JavaScript fails to load, the menu must remain usable. The common safe pattern is for a small screen to display the nav as a stack that the button collapses, never as a hidden element that requires the script to appear. Test with JavaScript disabled before launch.

The menu page: where most designs succeed or fail

The menu is the single most important page, and the most common failure mode is making it look like a graphic design project — full-page image, decorative script type, prices in a column of dots. That looks elegant on a desktop and becomes unreadable on a phone, and unreadable to a screen reader at all.

Structure the menu semantically, one section per course or category:

The description list (dl) is the right element here because each item is genuinely a name paired with a value. The price and description both live in dd elements — one styled to sit right-aligned, one as supporting text. This means a screen reader announces the dish name, then its price, then its components, in order.

Add tags for dietary notes as plain text inside the description or as a short span with a distinct class. Don't rely on color alone to communicate "spicy" or "vegan" — about one in twelve men has some degree of color-vision deficiency. Use text labels like "V" or a word.

Two practical rules for menu content that no design element can compensate for:

Prices must be exact and current. A stale price is worse than no price, because it erodes trust. Make one person responsible for updating the HTML file on every menu change, and put the last-updated date in a visible tag under the heading. Descriptions should describe, not justify. "Charred broccoli with garlic, chili, and lemon" beats "Our chef's take on the humble vegetable."

Hours, location, and the phone number: the block that prevents anger

The second-highest-intent visitor is looking for "are you open" and "where are you." Make both answers visible on every page — commonly in the footer, or in a condensed contact strip. The markup is a simple address block plus a structured hours list:

The address element is the correct semantic home for the restaurant's contact details, and the dl treats hours as term–definition pairs — a screen-reader user hears "Friday through Saturday, 11:30 a.m. to 11 p.m."

Note the deliberate plain-English formatting. Times written as "11:30am – 11:00pm" are far more scannable than "1130-2300." Use the same format everywhere.

A map embed fills a slot below the address. Use a