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

  • Home
  • SEARCH
  • 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 6533741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:09:55+00:00 2026-05-25T10:09:55+00:00

I have the following code ; <label for=courseLevel>Level</label> <select name=courseLevel id=courseLevel> <option label=courseLevel>Foundation</option> <option

  • 0

I have the following code ;

              <label for="courseLevel">Level</label>
              <select name="courseLevel" id="courseLevel">
                <option label="courseLevel">Foundation</option>
                <option label="courseLevel">Undergraduate</option>
                <option label="courseLevel">Postgraduate</option>
              </select>

In firefox and chrome i get “Foundation”,”Undergraduate”,”Postgraduate” as the options. In internet explorer i get “courseLevel”,”courseLevel”,”courseLevel”. Why? and how can it be fixed?

  • 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-05-25T10:09:55+00:00Added an answer on May 25, 2026 at 10:09 am

    label is not being used correctly (only IE 7+ and Opera support it). You don’t need it.

    <label for="courseLevel">Level</label>
    <select name="courseLevel" id="courseLevel">
        <option>Foundation</option>
        <option>Undergraduate</option>
        <option>Postgraduate</option>
    </select>
    

    What you are probably looking for is value. For example, you could assign numeric values to each of the options like so:

    <label for="courseLevel">Level</label>
    <select name="courseLevel" id="courseLevel">
        <option value='0'>Foundation</option>
        <option value='1'>Undergraduate</option>
        <option value='2'>Postgraduate</option>
    </select>
    

    However, you don’t need them. When no values are specified, the text between <option> and </option> will be used.

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

Sidebar

Related Questions

I have the following code: ListBox.DataSource = DataSet.Tables(table_name).Select(some_criteria = match) ListBox.DisplayMember = name The
I have in my rails form the following code: <label>Fruit: </label> <%= f.select(:IST_FRUIT, [['Apple',
I have the following code form.label :artists which outputs <label for=artist_artist_name>Artist name</label> How did
I have the following code: HTML <label>File Upload: </label> <input type=file name=file[] /> jQuery
I've got code similar to the following... <p><label>Do you have buffet facilities?</label> <asp:RadioButtonList ID=blnBuffetMealFacilities:chk
I have the following code: SELECT <column>, count(*) FROM <table> GROUP BY <column> HAVING
I have the following code // Breakpoint here [label removeFromSuperview]; [label release]; label =
I have following code. <s:DropDownList dataProvider={_dataProvider}/> <fx:Script> private var _dataProvider:ArrayCollection = new ArrayCollection([{label:one, data:1},
I have the following code which should update a label to say please wait..,
I have the following code in a strongly-typed View in my application: <td> <label

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.