: SEO-friendly links inside dropdown-menu What are the options for a dropdown menu? select - can't contain links div with initial display none - Might incur a penalty + might not be indexed div
What are the options for a dropdown menu?
select - can't contain links
div with initial display none - Might incur a penalty + might not be indexed
div with onload display none by JavaScript - Might cause a flicker on load
Is there a better option?
More posts by @Debbie626
1 Comments
Sorted by latest first Latest Oldest Best
CSS Hidden
Google and other search engines do not penalize sites for using display:none and in fact its extremely common that most sites use it for one reason or more.
JavaScript Content
Google and other search engines can understand JavaScript to some extent and again it is extremely common for websites to inject and modify things in the DOM.
Cloaking
What Google and other search engines look for is cloaking, intentional populating the web page without allow site visitors to view that content in anyway. Google can associate hidden content with triggers in both CSS, HTML and JavaScript.
There are dozens of ways that this can be done, from display none with no triggers to even going as far to use a small font and text color the same as the background color, therefor making the text invisible to site visitors but viewable by Google, but Google has been around for decades, it understands cloaking.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.