html tutorial - How to show and hide dropdown menu on mouse hover using CSS - html5 - html code - html form
Answer: Use the CSS :hover pseudo-class
If you simply need to indicate and hide dropdown menu on mouse hover you do not want any JavaScript. you'll do that simply using the CSS show property and :hover
pseudo-class
The following example can show you ways to implement an easy dropdown using the CSS.