Skip to main content

HTML headers

The header tags, or commonly known as "HTML headers" (Heading Tag in English) are HTML tags that are used to define the header or title of a page. Headers are defined with where n is a number between 1 and 6 that determines the order of the header. Each header begins with and should close with and the title content is placed in the middle of the two commands.

Main title

Secondary degree

Third title

General information

In the HTML structure the headers they play a very important role. Simply, an HTML file is a combination of data that establishes the hierarchical structure of the web portal, where the header is the first step for all other commands. The HTML file contains only one "H1 header", however the others can be used more than once.

Qualification

First secondary degree

Second secondary degree

What are headers for?

Headers organize the structure and establish a hierarchy order in HTML files, and inform the browser what data to display. The format of the headers It is done by means of the CSS files that serve to separate the content from the formatting. It is mandatory to use the "headers" so that the texts can be viewed. You can use the tool "W3C Validator" to review the validity of an HTML document.

The most important: an organized and clear structure of the HTML files offers not only advantages for the webmaster, but also for users and search engines since they offer important information to the user about the content and make it easier for him to choose what is really relevant interest, and search engines receive valid source code with relevant keywords that summarize the content.

Relevance for SEO

The headers They are necessary for search engines since they are used to identify keywords that have a leading role in the content and format of the web portal. Headers usually summarize the content and for this reason it is recommended to use relevant keywords. However, using too many keywords should be avoided under all circumstances as this practice is penalized and is called Keyword Stuffing.

The importance of Headboard It is defined by numbers, 1 is the most important and 6 the least important. At the same time, the higher the Headboard on a page, the more relevance it has.

There are some theories about the impact of keywords on headers regarding positioning. Changes made to the H2 header tag are rumored to have more impact than the others. However, the changes that are made must always be made with the aim of improving the user experience and the usability of the web portal and not just to boost positioning.

Web links