Web based family history software

Question h1 tagging

More
2 years 11 months ago #1 by zink
h1 tagging was created by zink
It seems that the arrangement of h1 tags is not quite correct.
On personal pages, the tag is assigned not to a person, but to the name of the site, although the main information of the page is exactly the person.
Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #2 by ric2015
Replied by ric2015 on topic h1 tagging

zink wrote: It seems that the arrangement of h1 tags is not quite correct.
On personal pages, the tag is assigned not to a person, but to the name of the site, although the main information of the page is exactly the person.


According to the specification , h1 is not intended to represent 'the main information of the page'. That is what the title tag is for. See in particular this section , and the note "The document's title is often different from its first header, since the first header does not have to stand alone when taken out of context."

Articles suggesting to use h1 differently for SEO purposes do not seem to understand this.

In webtrees, the header element contains an h1 tag with the name of the tree, and the main element contains a h2 tag with the name of the individual (in this case). This is all structured properly, as the individual is always defined within a specific tree.

Richard

webtrees 2.1.17 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #3 by zink
Replied by zink on topic h1 tagging
OK, thanks.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}