What are the options for a dropdown menu?select - can't contain linksdiv with initial display none - Might incur a penalty + might not be indexeddiv with onload display none by JavaScript - Might cause a flicker on loadIs there a better option?
SEO-friendly links inside dropdown-menu
seo
CSS HiddenGoogle 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 ContentGoogle 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. CloakingWhat 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.