How to make Dropdown Menu without JavaScript
Make dropdown menu or add link without using any plugin or JavaScript. You cane use given code in your WordPress or Blogger website.
How To Do
- Open active theme’s folder or paste given code where you want to show dropdown menu.
- Add URL in value then SAVE.
Code
<ul> Menu by TheKroyaard <li style="list-style-type: none;margin-top: 2px;"> <select name="categories" tabindex="-1" aria-hidden="true" onchange="location = value;"> <option>Select</option> <option value="https://www.google.com/">google</option> <option value="/category/download/">Download</option> </select> </li> </ul>
You can change value and add any URL in this dropdown menu. Hope this code will work fine, Have another doubt so contact us.
Watch Video
Language | Hindi |
Published on | 27-09-2022 |
Published By | TheKroyaard COM |
Platform | YouTube |