• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. Tecnología para desarrolladores web
  2. HTML: Lenguaje de etiquetas de hipertexto
  3. Referencia HTML
  4. Referencia de Elementos HTML
  5. Elementos títulos
    • English (US)
    • Deutsch
    • Français
    • 日本語
    • 한국어
    • Português (do Brasil)
    • Русский
    • 中文 (简体)
    • 正體中文 (繁體)

Esta página ha sido traducida del inglés por la comunidad. Aprende más y únete a la comunidad de MDN Web Docs.

En este artículo

  • Atributos
  • Ejemplos
  • Sobre Accesibilidad
  • Especificaciones
  • Compatibilidad con navegadores
  • Véase también
  1. HTML: Lenguaje de etiquetas de hipertexto
  2. Guides
  3. Categorías de contenido
  4. Comments
  5. Date and time formats
  6. Constraint validation
  7. Etiqueta meta del Viewport
  8. Imágenes adaptables
  9. Microdatos
  10. Microformatos
  11. Modo quirks y modo estándar
  12. HTML cheatsheet
  13. How to
  14. Define terms with HTML
  15. Uso de atributos de datos
  16. Imagen con CORS habilitado
  17. Add a hitmap on top of an image
  18. Consejos para la creación de páginas HTML de carga rápida
  19. Add JavaScript
  20. Reference
  21. Elements
    1. acronym Obsoleto
    2. aside
    3. Audio
    4. b
    5. bdo
    6. big Obsoleto
    7. blockquote

    8. button
    9. canvas
    10. caption
    11. Obsoleto
    12. cite
    13. code
    14. col
    15. colgroup
    16. datalist
    17. dd
    18. del
    19. dfn
    20. dir Obsoleto
    21. dl
    22. dt
    23. em
    24. embed
    25. Experimental
    26. fieldset
    27. figure
    28. font Obsoleto
    29. footer
    30. form
    31. frame Obsoleto
    32. frameset Obsoleto
    33. Elementos títulos
    34. head
    35. header
    36. hgroup

    37. i

Página de ejemplo

El código siguiente muestra unos pocos encabezados con algo de contenido debajo de ellos.

html

Heading elements

Summary

Some text here...

Examples

Example 1

Some text here...

Example 2

Some text here...

See also

Some text here...

Aquí está el resultado de este código:

Sobre Accesibilidad

Navegación

Una forma típica de navegación que utilizan las personas no videntes es moverse a través de la pantalla con las etiquetas de encabezado. De esta forma, pueden conocer rápidamente el contenido de la página en poco tiempo; por esta razón es importante prestar mucha atención a nuestras etiquetas de encabezado y no saltearse ningún nivel o podríamos confundir a este usuario.

No hacer

html

Cabecera nivel 1

Cabecera nivel 3

Cabecera nivel 4

Sí hacer

html

Cabecera nivel 1

Cabecera nivel 2

Cabecera nivel 3

Anidar

Las etiquetas de cabecera pueden anidarse para generar sub-secciones en nuestros documentos. Esto beneficia la organización de la información y también ayuda a los usuarios de lectores de pantalla a conocer mejor la jerarquía de los contenidos.

  1. h1 Harry Potter

    1. h2 Sinopsis

    2. h2 Novelas

      1. h3 Harry Potter y la Piedra Filosofal
      2. h3 Harry Potter y la Cámara de los Secretos
      3. h3 Harry Potter y el Prisionero de Azkaban
      4. h3 Harry Potter y el Cáliz de Fuego
      5. h3 Harry Potter y la Orden del Fenix
      6. h3 Harry Potter y el Príncipe Mestizo
      7. h3 Harry Potter y las Reliquias de la Muerte
    3. h2 Películas

      1. h3 Harry Potter y la Piedra Filosofal
      2. h3 Harry Potter y la Cámara de los Secretos
      3. h3 Harry Potter y el Prisionero de Azkaban
      4. h3 Harry Potter y el Cáliz de Fuego
      5. h3 Harry Potter y la Orden del Fenix
      6. h3 Harry Potter y el Príncipe Mestizo
      7. h3 Harry Potter y las Reliquias de la Muerte (Parte 1)
      8. h3 Harry Potter y las Reliquias de la Muerte (Parte 2)

Especificaciones

Specification
HTML
# the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

Compatibilidad con navegadores

html.elements.h1

html.elements.h2

html.elements.h3

html.elements.h4

html.elements.h5

html.elements.h6

Véase también

Help improve MDN

Learn how to contribute.

This page was last modified on 11 abr 2025 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.