Sorry for the stupid question, but I notice that we talk about a lot about the importance of have the right words or title in H1 or H2. What exactly does this mean what is the relevance of it? I’m trying to build my own web site but don’t have much experience in the field.

Dani AI

Generated

A short, practical primer that ties the replies together and adds concrete guidance.

asked what H1–H6 mean; @rajarajan2017 showed the raw tags, made the helpful Word-heading analogy, and correctly noted search engines look at headings for signals. Headings are semantic elements: they mark the document outline so browsers, screen readers, and crawlers know which text is a title, which are section headings, and how the page is organized. They are about structure first, appearance second.

Practical rules and cautions: use an H1 for the page or article title and H2 for top-level sections, H3 for subsections, etc. Keep headings short and descriptive, avoid using them solely to change font size (use CSS for styling), and do not stuff keywords into headings. HTML5 allows H1 inside sectioning elements (multiple H1s are valid in some patterns), but for clarity and broad compatibility most sites use one clear H1 per page. Screen readers let users jump by headings, so logical order matters — avoid jumping straight from H2 to H4.

A simple semantic pattern (for reference):

<header>
  <h1>Article or Page Title</h1>
  <nav>...</nav>
</header>

<main>
  <article>
    <h2>Section heading</h2>
    <h3>Subsection</h3>
  </article>
</main>

Brief troubleshooting tip: if navigation or accessibility tools seem confused, open the page in a browser inspector and review the heading order in the DOM — that usually reveals misplaced headings or headings used for visual styling instead of structure.

Recommended Answers

All 3 Replies

Member Avatar for Member #334542

Dont hesitate to ask anything to anybody even that is a small query. H1, H2 ...H6 is the heading styles. you can use this to differentiate your headings. Let look into the example.

Open notepad and save the below contents as html and execute it in the browser

<html>
<head><title>Heading Examples</title></head>
<body>
<h1>Heading one Style</h1>
<h2>Heading two Style</h2>
<h3>Heading three Style</h3>
<h4>Heading four Style</h4>
<h5>Heading four Style</h5>
<h6>Heading four Style</h6>
</body>
</html>

The H tags are heading tags that format your text into headings. H1 is the most prominent (largest), H2 the second, and so forth. You need to mind the content of each heading tag, it's probably a good idea. What he is essentially saying is that the search engines look to these tags for relevant meaning for SEO. Don't fill them with junk, essentially. I would advise you to take help from web design tool like [link removed] which is specifically designated for real estate investment.

Just to beat a dead horse, think of them as the heading styles in MS Word. It's preformatted to standout.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.