Creating a web page that will show drop down list and options

Asked By 20 points N/A Posted on -
qa-featured

Hello!

I would like to create a web page that will show drop down list that contains months in HTML/HTML5. I would like to know how to do this? Is “Select” script is the best option for this? Do you have alternative suggestion? What are the other attributes of elements I need to add to make this work properly? I want to add few “tick-boxes” for selecting options and favorites in this webpage. Can you provide me what are the scripts I need to use for this?

Thank you!

SHARE
Answered By 0 points N/A #165775

Creating a web page that will show drop down list and options

qa-featured

Hello Christine!

Achieving this web page is not hard including for beginners they just have to remember the “head-body-tail” principle and add the codes for the contents of your web page in the inside body tags. Let’s try to create one web page that will illustrate what you’re looking for.

Inside body tags just type the following tags.

<form>

<select name=”Month”>

<option>January</option>

<option>February</option>

<option>March</option>

<option>April</option>

<option>May</option>

<option>June</option>

<option>July</option>

<INPUT TYPE = “Check” VALUE=”Click here >>>”>

</select>

</form>

Notice on first line and last line, we placed the select and option tags inside it. Select tags are actually considered as forms in web page design. I did not included all the months. This will be sufficient for you to get the required output of your web page. The INPUT TYPE was used here to include a check box or tick box.

 

Related Questions