External vs inline for CSS menu
-
Which is better for search engines: external or inline menus? And which language: CSS, Javascript, or both?
-
Thanks, Steve. That makes sense.
-
Even though inline uses less code than usual, I'd still say always go for an external file so there is less code to crawl though for your content. The cleaner the code, the better. Inline is still more code than just a linked external stylesheet.
*Edit: Oh and CSS every time over JavaScript
-
Thanks for the quick reply. I guess I should have specified an external CSS file that contains the menu coding, vs. inline CSS coding. From an SEO/crawl bot perspective, should the CSS menu coding be in an external file or inline?
-
What exactly is an 'external' or 'internal' menu? Every menu that is on your website is internal by definition that it is 'on your website'?
Menus should be fully accessible with Javascript turned off. With that in mind you could add Javascript to make the menu function better for users that have Javascript enabled.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Technical isssue if Menu only opens on-click?
We have a SEO related problem with subpages that all have PA of 1. We are suspecting some technical issues behind, therefore our question: Could the menu that only opens on-klick be responsible and would opening on-hover generally be prefereable? Also the subpages are bundled in categories that do not exist: home/kategorienotexistant/subpagewithPA1 Any help is appreciated. thanks in advance
On-Page Optimization | | brainfruit0 -
301 vs 410
Hello everyone! I'm going through a large list of old 404 links that search console has given me and a lot of these links need to be 301'd. My question is, should I 410 some of these links if I can't find a good place to 301 to? Or is there another thing I should do that is better practice. Thanks!
On-Page Optimization | | KathleenDC0 -
Many have stolen our content. Rewrite vs. DMCA content removal?
Hello, We own a medical tourism website and many other sites have stolen (copied and pasted) our content. Our content is more than 2 years old, so we thought we could rewrite the content - but Which is a more wiser decision from you guys' experience? Archive our current content at a different URL and upload a fresh content in the current URL Claim our originality to Google and ask the stolen sites to remove our content. Thank you and appreciate your time.
On-Page Optimization | | joony0 -
On-page score vs adwords quality score
Dear Sirs. According to your on page SEO card my page gets an A grade. But in google adwords the quality score is 3. Why is that? What's the difference? Thanks for your reply. Gela
On-Page Optimization | | gelakiev0 -
Jquery in top of page vs text on bottom page
Is it the best way to use jquery sliders on the top of your page to still get all your text above the fold and score in search engines? for example: http://www.wolf-howl.com/wp-conte... is much better to score high ranks in search engines than http://www.wolf-howl.com/wp-conte... ?? Thanks!
On-Page Optimization | | HMK-NL0 -
Unique Product Descriptions Vs. Speedy Launch
We are close to launching a new property and are also in the process of writing completely unique product descriptions for every product. This will continue to take a lot of time. We are debating the following two options: A. Launch soon with about 10-15% of descriptions being very unique and the rest being standard (mostly manufacture supplied). Then continue to update product content as we complete new fresh descriptions. B. Wait to launch until everything is unique. This will probably set us back 2 Months. We of course would like to go live sooner than later, but don't want to jeopardize anything as it pertains to rankings. The fear internally with launching now is that product pages get crawled, but don't make our best 1st impression with the engines. The counter argument is that it doesn't matter much, pages will get crawled again, and the fresh new content will be considered. Any inputs on this? Is '1st impression' with Google key, or is there no harm in launching and updating. Everything else is very sound -- architecture, on-site optimization, usability/crawlability etc. It's just the matter of the unique vs. generic product page content. Many thanks!
On-Page Optimization | | SEOPA0 -
PageRank: Links on menu and footer to the same page, does it get counted twice?
Hello all. If I have 10 links on a menu linking to 10 different pages, and 10 links on the footer linking to the same pages, does PageRank get divided by 10 or 20?
On-Page Optimization | | MiamiWebCompany0 -
CSS background images weight impact
Hi,
On-Page Optimization | | GianniCuccu
do you think that the use of a single 1.8Mb background image sitewide could have a big negative impact and make a website disappear from SERPS? thank you0