HTML Tag: H1, H2, H3, H4, H5, And H6
You are here: Home → References → HTML → Tags →
Optional Attributes
Global attributes
Example
<h1>The Main Heading</h1> <!-- stuff --> <section> <h2>A Subheading</h2> <!-- sub-stuff --> </section> <section> <h2>Another Subheading</h2> <!-- sub-stuff --> <h3>A Subheading of a Subheading</h3> <!-- sub-sub stuff --> </section>Headings do not have to appear in section elements, as shown in this example. If they do, however, because these section elements are semantically regarded as sub-sections of their parent, their content could begin with h1 elements and these headings would be regarded as sub-headings. It is quite valid to use h2 elements as show above, though. This maintains good semantics and has an added benefit of being backwards-compatible (with browsers that don’t recognise section elements). This is an approach employed by many sites, including this one.
Advertise Here! On a long-established, well-read, well-respected web development resource.
Main menu
- Tutorials
- HTML
- CSS
- JavaScript
- Techniques
- Examples
- References
- HTML
- Tags
- Attributes
- Characters
- CSS
- Properties
- Selectors
- Values
- HTML
Supplemental menu
- About Us
- Contact Us
- Link to Us
- Advertise With Us
- Web Hosting
- Site Map
- Home
Từ khóa » Titulos H1 H2 H3 H4 H5 H6
-
Como Usar H1, H2, H3, H4, H5 Ou H6 Nos Títulos Do Site - Aylton Inacio
-
–
: The HTML Section Heading Elements - MDN - Mozilla
-
Heading Tags H1, H2, H3, H4: Como Usar E Evitar Erros Comuns
-
Tags H1, H2, H3, H4, H5 E H6 - Portal De Finanças
-
Títulos En HTML (h1,h2,h3,h4,h5,h6) De - Todo Argentina Net
-
HTML – H1 H2 H3 H4 H5 H6 - Origamid
-
¿Qué Son Las Heading Tags (h1, H2, H3) Y Cómo Usarlos?
-
Heading O Títulos Etiquetas H1 H2 H3 H4 H5 H6 - YouTube
-
H1, H2, H3, H4 | ¿Para Qué Sirven Las Etiquetas HTML?
-
H1-H6 Heading Tags And SEO: The Ultimate Guide - ContentKing
-
HTML Headings - W3Schools