Tuesday, January 31, 2023
SocialMedia For Change
  • Home
  • DIGITAL MARKETING
  • CONTENT MARKETING
  • Google Update
  • SEO
  • SOCIAL MARKETING
  • SOCIAL UPDATES
No Result
View All Result
  • Home
  • DIGITAL MARKETING
  • CONTENT MARKETING
  • Google Update
  • SEO
  • SOCIAL MARKETING
  • SOCIAL UPDATES
No Result
View All Result
SocialMedia For Change
No Result
View All Result
Home SEO

Google’s John Mueller: Move JavaScript Below HTML Headers

admin by admin
January 10, 2023
in SEO
0
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter


Google’s John Mueller suggests putting JavaScript code under the HTML header tag to make sure search crawlers can totally perceive your web site.

Mueller shares this recommendation in a Reddit thread, the place a person asks whether or not HTML code placement might trigger search engine optimization points.

The reply is sure; the position of HTML code might adversely impression your search engine optimization efforts if it doesn’t seem on the high of the web page.

Extra particularly, it’s vital to maintain the <head> part of the HTML doc on the high of the web page. This part ought to comprise the data that Google must learn your web site correctly.

Any JavaScript code must be positioned under the HTML headers.

To ensure that the JavaScript isn’t interfering with the <head> part, Mueller recommends utilizing the rendering instrument in Search Console:

“The html headers (<head>) should be pretty much on top. I’d move any JS to below the HTML headers, and check with the rendering tool in search console that the JS doesn’t mess up the <head> section.”

Concerning the primary content material, Mueller says its placement is much less vital, although it’s essential for the <head> part to be clear and well-organized so Googlebot can correctly perceive it.

Mueller continues:

“For the content material it doesn’t matter as a lot, however for the reason that head stuff is for machine-readable info that’s verified to be in a particular a part of the web page, it actually must be clear on high.

Down with JavaScript! (within the <head>)”

Why Does The Placement Of JavaScript Matter For search engine optimization?

When designing an internet site, it’s greatest to incorporate JavaScript code on the backside of the HTML doc close to the closing </physique> tag.

That’s as a result of JavaScript can delay the rendering of a webpage whereas it masses, leading to a poor person expertise.

By putting the JavaScript on the backside of the web page, the HTML may be rendered first, permitting the person to view the content material whereas the JavaScript masses within the background.

Moreover, you possibly can forestall exterior JavaScript information from blocking the rendering of the web page utilizing the async or defer attributes.


Supply: Reddit

Featured Picture: StockEU/Shutterstock





Source link

Tags: GooglesHeadersHTMLJavascriptJohnMoveMueller
Previous Post

Google Announces More Changes To Its Play System Including Updates For Play Protect

Next Post

Google Docs replace might make voice typing genuinely helpful

admin

admin

Next Post

Google Docs replace might make voice typing genuinely helpful

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest

Pinterest Shares its 2023 Trend Predictions, Based on Pin Activity and Engagement

December 21, 2022

Update: Plans For Kohl’s Closings in 2023 | Joel Eisenberg | NewsBreak Original

December 24, 2022

The 5 Best Ways To Outrank Your Competitors In 2023 With AI

January 12, 2023

Microsoft’s Looking to Invest $10 Billion into Rising AI Start-up OpenAI

January 10, 2023

Google Voice update will put users on the best quality Cellular or Wi-Fi network automatically

0

Apple TV Could Finally Come to Android Smartphones

0

Ranking knowledge throughout the December 2022 Google useful content material replace and hyperlink spam replace

0

Google updates Ads Policy Requirements

0

Pillar Pages: Why and How You Should Add Them to Your Content Strategy

January 31, 2023

As layoffs proceed, Google freezes key inexperienced card course of for employees

January 31, 2023

Twitter Outlines New Platform Rules Which Emphasize Reduced Reach, as Opposed to Suspensions

January 31, 2023

Live: ASX edges increased, Wall Street within the crimson as buyers await central financial institution price hikes

January 31, 2023

Recent News

Pillar Pages: Why and How You Should Add Them to Your Content Strategy

January 31, 2023

As layoffs proceed, Google freezes key inexperienced card course of for employees

January 31, 2023

Twitter Outlines New Platform Rules Which Emphasize Reduced Reach, as Opposed to Suspensions

January 31, 2023

Live: ASX edges increased, Wall Street within the crimson as buyers await central financial institution price hikes

January 31, 2023
SocialMedia For Change

Follow Us

Browse by Category

  • CONTENT MARKETING
  • DIGITAL MARKETING
  • Google Update
  • SEO
  • SOCIAL MARKETING
  • SOCIAL UPDATES

Recent News

Pillar Pages: Why and How You Should Add Them to Your Content Strategy

January 31, 2023

As layoffs proceed, Google freezes key inexperienced card course of for employees

January 31, 2023
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2022 SocialMediaForChange -All Rights Reserved

No Result
View All Result
  • Home
  • DIGITAL MARKETING
  • CONTENT MARKETING
  • Google Update
  • SEO
  • SOCIAL MARKETING
  • SOCIAL UPDATES

© 2022 SocialMediaForChange -All Rights Reserved