Online HTML Select Option Menu Generator


This tool designed to simplify the process of creating dropdown menus for websites. Whether you need a simple navigation menu or a complex selection tool, this generator offers a user-friendly interface to help you build and customize your menu in minutes.

These tools include a converter that transforms traditional navigation menus or navigation bars into HTML <select> dropdown options, offering a user-friendly way to navigate websites. The tool allows for URLs to open in a new window, the same window, or within an iframe, depending on user preferences, adding flexibility to how content is displayed.

Demo HTML Select list menu:

Demo

Features

  • URL Management: Easily add, edit, and sort URL options with corresponding names. The generator allows for bulk extraction of URLs from any webpage, streamlining the process.
  • Link Behavior Customization: Choose how your links will open whether in the same window, a new tab, a popup, or within an iframe.
  • Instant Code Generation: After setting up your options and styles, click "Generate Code" to instantly receive the HTML needed to implement the menu on your site.

How to Use

  1. Adding URLs: Input the name and URL for each option in the menu.
  2. Select Link Behavior: Choose how each link should behave when selected.
  3. Generate and Implement: Once satisfied, generate the code and integrate it into your website.

The tool also offers functionalities to sort, edit, or extract URLs from a webpage, and it generates the necessary HTML select option code for you.

Add URL and Name

Link Name
Link URL
  • 1
  • 2
  • 3

Link Open Method

On change link open

Link target

Popup Window Size

If the URLs or name have been modified or removed, click the Generate code button again.

HTML
<select name="menu-select" id="menu-select" aria-label="select menu">
    <option value="https://www.html-code-generator.com/">HTML Code Generator</option>
    <option value="https://www.google.com/">Google</option>
    <option value="https://www.facebook.com">facebook</option>
</select>
<input type="button" onclick="location=document.getElementById('menu-select').value" value="GO">
CSS
select {
    display: inline-block;
    width: 300px;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #a3a3a3;
    border-radius: .25rem;
    -webkit-appearance: none;
    appearance: none;
}

This generated code you can edit live and preview. click the button below