Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7816435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:52:07+00:00 2026-06-02T05:52:07+00:00

I want to create a drop-down menu in which we can see all the

  • 0

I want to create a drop-down menu in which we can see all the available fonts and we can select any font of our choice. Also I want to create a font-color selection widget. There exists a large no of font-styles. I want to know how do i get all these fonts and how to create a widget using which user can select the color of his choice.

For creating font-selection drop-down menu, I have used list and for demo purpose, i added 3-4 font names and displaying them. Its working fine.
Google gave me the list of all font-names but writing down in html code isn’t a good approach i think.
I guess there should exist a js library for doing all this. Is there ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:52:09+00:00Added an answer on June 2, 2026 at 5:52 am

    Jukka K. Korpela is right, but regarding your question:

    This should get you started on the selecting font family:

    <!DOCTYPE html>
    <html>
    <head>
    </head>
    <body>
      <h1 id="liveh1">Some text</h1>
      <select id="selecth1FontFamily" name="selectFontFamily" onchange="updateh1family();">
        <option> Serif </option>
        <option> Arial </option>
        <option> Sans-Serif </option>                                  
        <option> Tahoma </option>
        <option> Verdana </option>
        <option> Lucida Sans Unicode </option>                               
      </select>
        <script>
          function updateh1family() {
            var selector = document.getElementById('selecth1FontFamily');
            var family = selector.options[selector.selectedIndex].value;
            var h1 = document.getElementById('liveh1')
            h1.style.fontFamily = family;        
          }
    
        </script>
    </body>
    </html>
    

    If it’s important to see if the fonts are installed you can use this to tool to check.
    And if it’s ok to use flash you may use something like font-detect-js (they also have a demo but I didn’t manage to get it to work in chrome).

    And for color selector I would recomend using : jscolor

    Hope it helps, and good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a drop down list on the Mozilla browser which is
how to create a drop down menu with sub menus that can execute an
I want to create 5 text boxes created on drop down selected index change
For our deployments, I just want to drop the existing stored proc, then re-create
Which is the best way for making an drop down menu, pure CSS or
I am trying to create a drop down menu using CSS and HTML, it
Hi I am trying to create a drop down menu using GWT. This is
So, basically I have this select / drop down menu that I use AJAX
I'm trying to create a drop down menu where when you hover over the
I was following a dropdown menu tutorial: http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-a-drop-down-nav-menu-with-html5-css3-and-jquery/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:%20nettuts%20(NETTUTS)&utm_content=Netvibes What I really want to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.