Home > Back-end >  Can H1 be in a Title element?
Can H1 be in a Title element?

Time:06-22

For a better SEO, can I do something like that:

<title><h1>My title !</h1></title>

or I should delete the h1 element ?

CodePudding user response:

Using H1 tags in a sequential and proper way allows you to divide and organize the content into sections and makes everything easier to read and combine. These titles include Keywords or Keywords, Google Penguin is more likely to rank the site better.

This is due to the fact that the title text is using as HTML and gives bigger tags due to the rest of the text Google reads from the page. That is, the text of your titles and subtitles has a greater weight than the rest of the content elements when determining whether a page is relevant in a user's search.

Soooo, yeah.. I think its important to use.

CodePudding user response:

Short answer: no, delete them.

The title tag does not support any internal tags. It is meant to be plain text and should be placed inside the head tag. Any tags inside it will be ignored/stripped out.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title

Heading tags are semantic tags that should be used inside the body of the HTML.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

  • Related