HTML Tag: H1, H2, H3, H4, H5, And H6
Có thể bạn quan tâm
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.
Link To Us! If you've found HTML Dog useful, please consider linking to us.
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 » H1 H2 H3 H4 H5 H6
-
HTML H1 To H6 Tag - W3Schools
-
–
: The HTML Section Heading Elements - MDN - Mozilla
-
How H1, H2, H3, H4, H5, And H6 Display - Georgetown UIS
-
H1, H2, H3, H4, H5, H6 HTML - W3schools.blog
-
What Are H1, H2, H3, H4, H5, And H6 Tags And How Do They Affect ...
-
HTML Heading Tags: The SEO Guide For H1 - H6 - SE Ranking
-
Counting With HTML5. Should H1, H2, H3, H4, H5 And H6 Be ...
-
XHTML >> Tags >> H1, H2, H3, H4, H5, H6 | DevGuru
-
4.4.6 The H1, H2, H3, H4, H5, And H6 Elements — HTML5 - W3C
-
Heading Tags/Elements (H1, H2, H3, H4, H5, H6)
-
Why Use H1, H2, H3 Tags For Your SEO? - Semji
-
H1, H2, H3, H4, H5, H6 - IBM
-
Measurement Model Results Based On Hypotheses H1, H2, H3, H4 ...