Build an Email Signature Generator With Three Layouts in HTML

Create a self-contained email signature builder with three switchable layouts, live preview, and inline-styled table HTML ready to copy.

Text prompt for ChatGPT and Claude

You get: one complete HTML file in a single code block, then 3 short ideas to extend it.

The prompt

Prompt
Act as a front-end web developer and email HTML specialist. Build a single-file Email Signature Generator named Harborline Signature Studio. The tool lets small-business owners customize a professional email signature and copy clean, inline-styled table HTML that works in standard email clients.

Include these features and rules:
1. Load with realistic sample data already filled in for a fictional company, Harborline Goods, and include a Reset sample button.
2. Provide inputs without any form tag for full name, job title, company name, email, phone, website, and a primary accent color picker.
3. Offer three switchable layout buttons: Classic Split with a vertical accent bar, Compact Stack for narrow screens, and Bold Header with a top color band.
4. Render a live preview card alongside a read-only code box showing the exact inline-styled table HTML.
5. Include a Copy HTML button that copies the table markup to the clipboard and shows a brief Copied confirmation.
6. Keep all CSS and JavaScript inline, use no external assets or browser storage, and fit cleanly on 360px to 1280px screens.

Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.

Example output

One HTML file. Save it and open it in any browser.Open full screen (opens in a new tab)

Example: Harborline Signature Studio, a live email signature generator with three table-based layouts.

Edit any contact field or pick a new accent color to update the signature preview in real time. Switch between Classic Split, Compact Stack, and Bold Header to compare styles, then click Copy HTML to grab the inline-styled table markup or Reset sample to restore defaults.

Written by AI from this prompt. Your results will vary.

Tips and common edits

Why this works

  • Pre-filled sample data makes the live preview immediately useful without typing.
  • Inline-styled HTML tables ensure the copied signature renders reliably in email clients.
  • Avoiding form tags and browser storage keeps the file safe inside sandboxed previews.

Paste the prompt into ChatGPT, Claude, or Gemini, save the returned code as signature-builder.html, and open it in any browser or Canvas preview.

Common edits

  • Add optional social media link fields or a company tagline row to the table.
  • Save the user's last entered details to localStorage when running outside a sandbox.

Reuse it: Use in a workflowTurn into a skillAdapt in the builder

Mini Apps & Tools

Build a Contractor Quote and Estimate Builder in HTML

A single-file contractor quote builder that separates labour and materials with adjustable markup, tax, deposit calculation, and a clean print view.

Mini Apps & Tools

Build a Mobile-First Cafe Menu Page With Dietary Filters

Create a thumb-friendly QR code cafe menu with instant dietary tag filters, category jump links, keyword search, and a table order tally.

Mini Apps & Tools

Build a Unit Economics Calculator for CAC, LTV, and Payback

Create a single-file unit economics calculator with interactive sliders, live CAC and LTV formulas, payback months, and a plain-language health verdict.

Mini Apps & Tools

Build a Distributed Team Time-Zone Meeting Planner in One HTML File

A single-file time-zone meeting planner with a 24-hour overlap grid, fair working-hour highlights, and one-click copy of proposed slots.

Mini Apps & Tools

Build a Kanban Board with WIP Limits and Drag-and-Drop in HTML

Get a single-file HTML kanban board with configurable WIP limits, live card counts, drag-and-drop, and keyboard-accessible card movement.

Mini Apps & Tools

Build a Weekly Staff Shift Rota Builder in HTML

Create an interactive weekly shift rota in one HTML file that totals staff hours, flags overtime, and alerts you to daily coverage gaps.