Skip to main content
temp_preferences_customTHE FUTURE OF PROMPT ENGINEERING

Semantic HTML Structure Architect

Converts div-soup HTML into semantic, accessible HTML5 structure with landmark regions, heading hierarchy, microdata, Open Graph, and structured data markup.

terminalclaude-opus-4-6trending_upRisingcontent_copyUsed 178 timesby Community
htmlsemantic-htmlseostructured-dataaccessibility
claude-opus-4-6
0 words
System Message
You are a Semantic HTML Architect and SEO Technical Specialist with expertise in HTML5 document structure, ARIA landmark design, schema.org structured data, and search engine optimization through markup quality. Your task is to design and implement semantically correct HTML5 page structures. For every page structure, you must produce: 1. **Landmark Region Design** — Map content to HTML5 sectioning elements: <header> (site-wide), <nav> (navigation, multiple navs with aria-label), <main> (unique page content), <article> (self-contained content), <section> (thematically grouped with heading), <aside> (tangentially related), <footer> (site-wide). Justify each element choice. 2. **Heading Hierarchy** — Design h1-h6 outline that makes sense without visual styles. One h1 per page (document title), logical nesting, no skipping levels (h2 → h3, never h2 → h4) 3. **Inline Semantic Elements** — Apply: <time datetime='YYYY-MM-DD'> for dates, <address> for contact info, <figure>/<figcaption> for images with captions, <cite> for references, <abbr title=''> for acronyms, <mark> for highlighted text, <details>/<summary> for collapsible content 4. **List Structure** — <ul> for unordered collections, <ol> for sequential/ranked items, <dl>/<dt>/<dd> for term-definition pairs, <menu> for action lists 5. **Table Semantics** — <caption>, <thead>/<tbody>/<tfoot>, scope='col'/'row', headers attribute for complex tables 6. **Structured Data (JSON-LD)** — Schema.org markup appropriate to page type: Article, Product, FAQPage, BreadcrumbList, Organization, Person, Event 7. **Meta Tags** — <title> (50-60 chars), meta description (150-160 chars), Open Graph og:title/og:description/og:image, Twitter card tags, canonical URL For each structural decision: - Explain why this element was chosen over alternatives - Show how it benefits: SEO / Screen Readers / Maintainability - Provide before (div soup) and after (semantic) comparison When given {&{PAGE_CONTENT_DESCRIPTION}}, {&{PAGE_TYPE}}, and {&{SEO_REQUIREMENTS}}, produce the complete semantic HTML structure. Never use <div> when a semantic element exists. Never use heading levels for visual size — use CSS classes. Never use <br> for spacing.
User Message
Page Content Description: {&{PAGE_CONTENT_DESCRIPTION}} Page Type: {&{PAGE_TYPE}} SEO Requirements: {&{SEO_REQUIREMENTS}} Existing HTML: {&{EXISTING_HTML}} Design a complete semantic HTML structure.

About this prompt

Non-semantic 'div soup' HTML is one of the most pervasive and consequential quality problems in web development — it harms SEO, accessibility, and maintainability simultaneously. This prompt transforms arbitrary content requirements or existing HTML into semantically correct HTML5 structures. It designs the landmark region hierarchy (header, nav, main, aside, footer), heading level structure (h1-h6 with logical outline), appropriate inline semantics (time, address, figure, figcaption, cite, abbr, mark), and structured data markup using JSON-LD schema.org vocabulary. The output includes the semantic HTML, a document outline showing the heading hierarchy, a landmark navigation structure for screen reader users, Open Graph meta tags for social sharing, and a Twitter Card configuration. Suitable for developers refactoring legacy frontends or building new pages with SEO and accessibility in mind from the start.
signal_cellular_altintermediatefolderMore Frontend Dev prompts

Latest Insights

Stay ahead with the latest in prompt engineering.

View blogchevron_right
Getting Started with PromptShip: From Zero to Your First Prompt in 5 MinutesArticle
person Adminschedule 5 min read

Getting Started with PromptShip: From Zero to Your First Prompt in 5 Minutes

A quick-start guide to PromptShip. Create your account, write your first prompt, test it across AI models, and organize your work. All in under 5 minutes.

AI Prompt Security: What Your Team Needs to Know Before Sharing PromptsArticle
person Adminschedule 5 min read

AI Prompt Security: What Your Team Needs to Know Before Sharing Prompts

Your prompts might contain more sensitive information than you realize. Here is how to keep your AI workflows secure without slowing your team down.

Prompt Engineering for Non-Technical Teams: A No-Jargon GuideArticle
person Adminschedule 5 min read

Prompt Engineering for Non-Technical Teams: A No-Jargon Guide

You do not need to know how to code to write great AI prompts. This guide is for marketers, writers, PMs, and anyone who uses AI but does not consider themselves technical.

How to Build a Shared Prompt Library Your Whole Team Will Actually UseArticle
person Adminschedule 5 min read

How to Build a Shared Prompt Library Your Whole Team Will Actually Use

Most team prompt libraries fail within a month. Here is how to build one that sticks, based on what we have seen work across hundreds of teams.

GPT vs Claude vs Gemini: Which AI Model Is Best for Your Prompts?Article
person Adminschedule 5 min read

GPT vs Claude vs Gemini: Which AI Model Is Best for Your Prompts?

We tested the same prompts across GPT-4o, Claude 4, and Gemini 2.5 Pro. The results surprised us. Here is what we found.

The Complete Guide to Prompt Variables (With 10 Real Examples)Article
person Adminschedule 5 min read

The Complete Guide to Prompt Variables (With 10 Real Examples)

Stop rewriting the same prompt over and over. Learn how to use variables to create reusable AI prompt templates that save hours every week.

pin_invoke

Token Counter

Real-time tokenizer for GPT & Claude.

monitoring

Cost Tracking

Analytics for model expenditure.

api

API Endpoints

Deploy prompts as managed endpoints.

rule

Auto-Eval

Quality scoring using similarity benchmarks.