---
title: "Framer Help: Understanding HTML tags"
description: Understanding and using HTML tags correctly can greatly improve accessibility, optimize search engine results, and enhance the overall user experience.
published: "Nov 6, 2026, 11:03 AM UTC"
---

# Understanding HTML tags

Understanding and using HTML tags correctly can greatly improve accessibility, optimize search engine results, and enhance the overall user experience. 

This guide highlights the importance of using [HTML](../../../dictionary/html) tags correctly, ensuring [accessibility](../../../dictionary/accessibility), search engine optimization, and enhanced user experience.

### [Semantic structure](#semantic-structure)
- `<article>`: Use for main blog posts, case studies, or individual product descriptions. Avoid wrapping general elements like headers or footers.
- `<aside>`: Perfect for displaying sidebars, related links, or callouts, ensuring they’re visually separate but contextually connected.
- `<main>`: Reserved for the primary content of the page, excluding navigation or repetitive elements.

### [Interactive elements](#interactive-elements)
- `<button>`: Always use the button tag for actions like submitting forms, toggling menus, or loading more content. This ensures proper functionality and accessibility, especially for screen readers.
- Avoiding non-semantic tags: Never use `<div>` or `<span>` for interactive purposes. Instead, let your actions and intent drive semantic choices.

### [Content grouping](#content-grouping)
- `<div>`: Best used as a container for styling or JavaScript functionality without implying semantic importance.
- `<figure>` and `<figcaption>`: Use for images, charts, or code snippets with descriptive captions, ensuring clarity and context.

### [Navigation and layout](#navigation-and-layout)
- `<header>`: Great for creating sticky navigation bars or hero sections within distinct sections.
- `<nav>`: Enclose all navigation elements (header links, footer links, sidebar menus) to improve the semantic structure and usability.

### [Lists and hierarchies](#lists-and-hierarchies)
- `<ol>` and `<ul>`: Ideal for lists like feature breakdowns, step-by-step guides, or navigation menus. Ensure proper indentation and significance with ordered or unordered contexts.

### [Structural tags for clarity](#structural-tags-for-clarity)
- `<section>`: Segment pages into logical blocks like testimonials, services, or feature highlights.
- `<footer>`: Include secondary navigation, copyright information, or sign-up forms either for the entire site or specific sections.

By incorporating these tags strategically, you’ll create websites that not only look great but also perform exceptionally in terms of usability, accessibility, and search visibility.

#### FAQ

### When should I use semantic HTML tags like \<article>, \<aside>, and \<main>?

\<article> should be used for main blog posts, case studies, or individual product descriptions, but not for general elements like headers or footers. \<aside> is perfect for displaying sidebars, related links, or callouts that are visually separate but contextually connected. \<main> is reserved for the primary content of the page, excluding navigation or repetitive elements.

### What is the best practice for adding interactive elements in HTML?

Always use the \<button> tag for actions like submitting forms, toggling menus, or loading more content. This ensures proper functionality and accessibility, especially for screen readers. Avoid using \<div> or \<span> for interactive purposes; let your actions and intent drive semantic choices.

### How should I group and structure content for better accessibility and SEO?

\<div> is best used as a container for styling or JavaScript functionality without implying semantic importance. Use \<figure> and \<figcaption> for images, charts, or code snippets with descriptive captions. Segment pages into logical blocks with \<section>, and use \<footer> for secondary navigation, copyright information, or sign-up forms. These practices enhance usability, accessibility, and search visibility.

Updated

2026年9月15日

## Your next idea starts here

Create personal portfolio, Build startup site, `Launch landing page`, Start company blog

[Start without AI](https://framer.com/signup)

---

## Navigation

- [Enterprise](../../../enterprise/)
- [Pricing](../../../pricing)
- [Log in](https://framer.com/login)
- [Sign up](https://www.framer.com/r/signup/)
- [Brand guidelines](../../../brand)
- [Help center](../../)
- [Accessibility](../../accessibility/)
- [AI](../../../ai/)
- [Agents](../../../agents/)
- [MCP New](../../../mcp/)
- [Design](../../../design/)
- [Collaborate](../../../collaborate/)
- [CMS](../../../cms/)
- [Hosting](../../../hosting/)
- [Performance](../../../performance/)
- [Analytics](../../../analytics)
- [SEO](../../../seo/)
- [Skills New](../../../skills)
- [Convert](../../../convert/)
- [Publish](../../../publish/)
- [Updates](../../../updates)
- [Templates](https://www.framer.com/community/marketplace/templates/)
- [Components](https://www.framer.com/community/marketplace/components/)
- [Vectors](https://www.framer.com/community/marketplace/vectors/)
- [Plugins](https://www.framer.com/community/marketplace/plugins/)
- [Gallery](https://www.framer.com/community/gallery/)
- [Hire Experts](https://www.framer.com/community/members/)
- [Switch New](../../../switch/)
- [Agencies](../../../agencies/)
- [Startups](../../../startups/)
- [Academy](../../../academy/)
- [Desktop App](../../../downloads/)
- [Developers](../../../developers/)
- [Affiliates](../../../creators)
- [Experts New](../../../expert/apply/)
- [Guides](../../../guides)
- [Blog](../../../blog/)
- [Newsletter](../../../newsletter)
- [Stories](../../../stories/)
- [Skills Index New](../../../skills/index)
- [Students](../../../education/students/)
- [Ambassadors](../../../)
- [Help Articles](../../)
- [Meetups](../../../meetups/)
- [Contact](../../../contact/)
- [Designers](../../../solutions/designers/)
- [Agencies](../../../solutions/agencies/)
- [Marketers](../../../solutions/marketers/)
- [Growth](../../../solutions/growth/)
- [Builders](../../../solutions/builders/)
- [Engineers](../../../solutions/engineers/)
- [Site Teams](../../../solutions/site-teams/)
- [Founders](../../../solutions/founders/)
- [AI website builder](../../../solutions/ai-website-builder/)
- [AI design agent](../../../solutions/ai-designer/)
- [Pro sites](../../../solutions/website-builder/)
- [Landing pages](../../../solutions/landing-pages/)
- [Portfolio maker](../../../solutions/portfolio-website/)
- [UI/UX design](../../../solutions/ui-ux-design/)
- [Figma to HTML](../../../solutions/figma-to-html/)
- [No-code](../../../solutions/no-code-website-builder/)
- [Compare](../../../compare)
- [Webflow](../../../compare/framer-vs-webflow)
- [Figma](../../../compare/framer-vs-figma)
- [Wix](../../../compare/framer-vs-wix)
- [Squarespace](../../../compare/framer-vs-squarespace)
- [WordPress](../../../compare/framer-vs-wordpress)
- [Readymag](../../../compare/framer-vs-readymag)
- [Ceros](../../../compare/framer-vs-ceros)
- [Unbounce](../../../compare/framer-vs-unbounce)
- [Lovable](../../../compare/framer-vs-lovable)
- [Claude Code](../../../compare/framer-vs-claude-code)
- [ChatGPT](../../../compare/framer-vs-chatgpt)
- [Codex](../../../compare/framer-vs-codex)
- [Contentful](../../../compare/framer-vs-contentful)
- [Sanity](../../../compare/framer-vs-sanity)
- [AEM](../../../compare/framer-vs-adobe-experience-manager)
- [Replit](../../../compare/framer-vs-replit)
- [Astro](../../../compare/framer-vs-astro)
- [v0](../../../compare/framer-vs-v0)
- [About New](../../../about)
- [Careers](../../../careers/)
- [Security](../../../legal/security)
- [Brand](../../../brand)
- [Abuse](mailto:abuse@framer.com)
- [Legal](../../../legal/community-terms)
- [Trust](https://app.eu.vanta.com/framer.com/trust/ow67ujg7iav0t6qtd1o6r2)
- [Merch](../../../store)
- [Keyboard](../../../f1)
- [Stack Score](../../../stack-score/)
- [Free domains](../../../domains/)
- [CanvasBench](../../../canvasbench/)
- [State of Sites](https://www.framer.com/state-of-sites-2026/)
- [AEO scanner](../../../aeo)
- [Link Preview](https://www.linkpreview.app/)
- [Checking status](https://www.framerstatus.com/)
