<h1> Selling humans, not expensive! </h1> <span> Sale of men, not expensive! </span>

<h1> is identical in all parameters (size, color, etc.).

Questions:

  1. Does search engine equate <span> to <h1> ?
  2. If item 1 is yes, then how is it more intelligent to make a large text so that it stands out on the page and at the same time does not affect its ranking?
  • 1. HZ, SEO has many myths, many of the 2000s. 2. <span class="h1"> , how to make .h1 and h1 same size, I think, you know - Total Pusher
  • of course I know, I use just .h1)) - Mike_Ro
  • My IMHO, on h1 all do not care. They have long rendered the entire page, including JS, and this falls into the sickle snippet. example - see my profile - Total Pusher
  • Well, xs, it seems to me that h headers still have a strong influence on the total weight of the page - Mike_Ro
  • Make 2 identical pages on two subdomains of the same site with the difference .h1 and h1 . Then look what is higher in the issue. I will soon put this kind of experience, but not with tags, but with page generation speeds. - Total Pusher

1 answer 1

Does the search engine equate the span to h1?

Of course does not equate .

Each web page is an HTML document. Any document has only one topic - the subject of the document, which briefly informs about the main content of this document. For a webpage, this subject / subject of the document is the content of the H1 element.

If you, as a developer, want to create a meaningful document structure, use the h1 - h6 elements to express the structure of an HTML document. Check out the W3 Heading documentation . The HTML Heading W3schools documentation states:

Headings are important

Search engines use headings to index the structure and content of your web pages.

Practically the same thing recommends Google in its Search Engine Optimization Guide for beginners :

To highlight important text, use header tags.

Recommendations

Imagine that you are writing a review. As with writing a large text review, state the main points and sub-paragraphs of the document and consider where to use heading tags.

The H1 element helps Google better understand what your content is, so that it can properly classify it for relevant search queries.

The span element is an inline element that does not represent anything. The content of the span element will be scanned by the machines as plain text.

Thus, by using the span element instead of the H1 element, you can create an incomprehensible web document structure that can be misleading for search engines and browsers.

Create an experiment: create two web documents — one with a span element and the other with an H1 element — and check the structure of these documents on the HTML5 Outliner tool . Approximately also it is read by machines of search engines and browsers.

In practice, Google probably uses the structure of a web document created with the use of H elements to issue Blocks with answers in Google Search in search of selected fragments.

  • Thank you for the detailed answer, but this is so clear to most, the question was different: is it really impossible for a search engine to understand that h1 and span / div / p text in the same style is the same? Just search engines have long understood that if the text color is equal to the color of its background, it means they are trying to fool it (hide the text for the user). In my question, I try to somehow deceive the search engine by giving lines of text as headings, i.e. visually they are headlines, but technically - no ... - Mike_Ro
  • The H1 element - according to the W3 specification defines the most important heading - w3schools.com/html/html_headings.asp . The span element defines nothing - this element has no meaning. Bots scan items in accordance with the latest HTML5 standard. Of course, bots distinguish stylistics and color, but to relate this to the most important heading or to simple text, inform them of the above elements. - nikant25