WebSite X5Help Center

 
DENNIS S.
DENNIS S.
User

H1 Tag in Body Section  en

Auteur : DENNIS S.
Visité 380, Followers 1, Partagé 0  

Hello,

I've been going thru my sites and see things that are concerning. When I look in my source code I see an <H1> tag for images. I hope this is me doing something wrong instead of the system. Google is hitting me with error messages of having two <H1> tags on the page. Below is the source code for the second <H1> tag that is in the body section. Where is this coming from?

<body><h1>NFL picks, nfl expert football picks</h1><divid="imPageExtContainer"><divid="imPageIntContainer"><divid="imHeaderBg"></div><divid="imFooterBg"></div><divid="imPage"><headerid="imHeader">

Please advise

Dennis

Posté le
10 RéPONSES - 4 UTILE
Aleksej H.
Aleksej H.
Moderator

Hello. Please provide a link to a website page where I can see this problem.

In your code I see only one H1 - "<h1>NFL picks, nfl expert football picks</h1>".

Lire plus
Posté le de Aleksej H.
DENNIS S.
DENNIS S.
User
Auteur

view-source:http://nfl-football-picks.com/

Right below the closing </head>
<body><h1>NFL picks, nfl expert football picks</h1>

Lire plus
Posté le de DENNIS S.
Aleksej H.
Aleksej H.
Moderator

Something clearly went wrong. How did you add these lines? Send a screenshot.

Check these settings:

Lire plus
Posté le de Aleksej H.
DENNIS S.
DENNIS S.
User
Auteur

I added those when I was trying to find out how to get the H1 tag in my source code. I did it by using the page property expert section. I have removed that because I now realize that's not the way to do it.

Lire plus
Posté le de DENNIS S.
DENNIS S.
DENNIS S.
User
Auteur

Right now I have no H1 tags in the source code of my home page. Back to step one. How to get an H1 for my home page to show in my source code?

In the setting section, I used the following see image below. Correct me if I"m wrong, this setting will automatically place the tag title of each separate webpage into the header section of my source code of each separate webpage. Do you concur?

Lire plus
Posté le de DENNIS S.
Aleksej H.
Aleksej H.
Moderator

" I did it by using the page property expert section. I have removed that because I now realize that's not the way to do it." - check again that this code is removed. Delete all site files from the server and re-upload it completely.
Then clear your browser cache and check the result.

"Right now I have no H1 tags in the source code of my home page. Back to step one." - I still see two H1.

"How to get an H1 for my home page to show in my source code?" - try like this:

"Do you concur?" - Yes, but you need to enable the display of the page title.

Lire plus
Posté le de Aleksej H.
DENNIS S.
DENNIS S.
User
Auteur

Alex,

I do have the page title visible and it still doesn't work. Have you tested it your way, to see if the <H1> tag appears in the header section of your source code? 

Please advise

Dennis

Lire plus
Posté le de DENNIS S.
Claudio D.
Claudio D.
Moderator

Magari non ho capito...

ma cosa centra il PageTitle con l'H1 ?

  • Tag title: elemento decisivo per l’ottimizzazione di una pagina web in termini SEO che serve a suggerire l’argomento principale a Google per il quale vogliamo posizionarci.
  • Tag H1: primo elemento del sistema di Heading (i titoli) che consente di organizzare la struttura di una pagina web.

Per mettere degli H1 , puoi usare lOggetto Title, ma va messo nel contenuto della Pagina , e NON nell'header

---

e cancella quei codici che hai messo, come ti ha già suggerito Aleksej H., che vanno in errore...

Lire plus
Posté le de Claudio D.
DENNIS S.
DENNIS S.
User
Auteur

Claudio

Ma cosa centrale il PageTitle con l'H1? Assolutamente niente. Come hai detto, il tag H1 viene utilizzato per le pagine web. ma il mio punto è che quando uso l'oggetto titolo, non viene visualizzato nel codice sorgente nella sezione del corpo. Si prega di avvisare sul motivo per cui non viene visualizzato nel codice sorgente? Dennis

As you said, the H1 tag is used for webpages. but my point is that when I use the Title Object, it doesn't show up in the source code in the body section.

Please advise as to why it does not show in the source code?

Dennis

Lire plus
Posté le de DENNIS S.
Aleksej H.
Aleksej H.
Moderator

"Have you tested it your way, to see if the <H1> tag appears in the header section of your source code?" - yes, here's an example.

Lire plus
Posté le de Aleksej H.