Jennifer the H.U.D. An adventure in brain science . JENNIFFER THE H.U.D. - Crating drop down menus
 
Counter
The Howdy partner Information filer trick
Contact
Jenniferchart
HUD TRAINER
Jennifer Chart Module
Jennifer Subpage
Module1
Module 005
module006
Module 002
Module- 202
Module 402
Module 003
module 146
Module 346
Module 446
module -105
Module 006
Module 106
Module 306
Module 007
Module 307
module 008
Module 108
Module 208
Module 308
Module 408
Module 009
Module 209
Module 309
Module 409
Module 110
Module 310
Module 410
Module 011
Module 111
Module 211
Module 311
Module 411
Module 211 outbound
Module 111 inbound
Module 012
Module 212
Module 312
Module 412
Module 112 inbound
Module 012 spine
Module 013
Module 113
Module 213
Module 313
Module 213 outbound
Module 113 inbound
Module 013 spine
Module 014
Module 114
Module 214
Module 500
Module 314
Module 414
Module 214 outbound
Module 114 outbound
Module 014 spine
Module 015
Module 115
Module 215
Module 315
Module 415
Module 215 outbound
Module 115inbound
Module 015 spine
Module 016
Module 116
Module 216
Module 316
Module 416
Module 216 outgoing
module116 incoming
Module 016 spine
Module 017
Module 117
Module 217
Module 317
Module 417
Module 217 outgoing
Module 117 incoming
Module 017 spine
Module 018
Module 118
Module 218
Module 318
Module 418
Module 218 outgoing
Module 118 incoming
Module 018 spine
Module 019
Module 119
Module 219
Module 319
Module 419
Module 219 outgoing
Module 119 incoming
Module 019 spine
Module 020
Module 120
Module 220
Module 320
Module 420
Module 120 incoming
Module 020 spine
Module 021
Module 121
Module 221
Module 321
Module 421
Module 221 outgoing
Module 121 incoming
Module 021 spine
Module 425
Module 226
Module 326
Module 025 spine
Module 225 outbound
Module 226 outbound
Module 125 inbound
Module 026
Module 356
Module 036
Module 037
Module 038
Module 039
Module 040
Module 041
Module 042
Module 043
Module 044
Module 045
Module 046
Module 047
Module 048
Module 049
Module 050
Module 051
Module 052
Module 053
Module 054
Module 055
Module056
Module 058
Module 059
Module 060
Module 061
Module 062
Module 063
Module 064
Module 065
MOdule 066
Module 067
Module 068
Module 069
Module 436
Module 446-
Module 346-
Module 390
Module 391
Module 392
Module 393
Module 394
Module 395
Module 396
Module 397
Module 398
Module 399
Module 499
Module 498
Module 497
Module 496
Module 495
Module 494
Module 493
Module 492
Module 490
Module 489
Module 488
Module 487
Module 486
Module 485
Module 484
Module 483
Module 481
Module 480
Module 479
Module 478
Module 477
Module 476
Module 475
Module 474
Module 473
Module 472
Module 471
Module 470
Module 469
Module 468
Module 467
Module 466
Module 465
Module 464
Module 463
TiModule 462
Module 461
Module 460
Module 459
Module 458
Module 457
Module 456
Module 455
Module 454
Module 453
Module 452
Module 451
Module 450
Module 449
Module 448
Module 447
Module 446s
Module 199 inbound
Module 198 incoming
Module 197 incoming
Module 196 inbound
Module 195 inbound
Module 194 inbound
Module 193 incoming
Module 192 inbound
Module 191 inbound
Module 190 incoming
Module 189 incoming
Module 188 incoming
Module 187 incoming
Module 186 Incoming
Module 185 incoming
Module 184 incoming
Module 183 incoming
Module 182 incoming
Module 181 incoming
Module 180 incoming
Module 179 incoming
Module 178 incoming
Module 177 incoming
Module 176 incoming
Module 175 incoming
Module 174 incoming
Module 173 incoming
Module 172 incoming
Module 171 incoming
Module 170 incoming
Module 169 incoming
Module 168 incoming
Module 167 incoming
Module 166 incoming
Module 165 incoming
Module 164 incoming
Module 163 incoming
Module 162 incoming
Module 161 incoming
Module 160 incoming
Module 159 incoming
Module 158 incoming
Module 156 incoming
Module 155 incoming
Module 154 incoming
Module 153 incoming
Module 152 incoming
Module 151 incoming
Module 150 incoming
Module 149 incoming
Module 148 incoming
Module 147 incoming
Module 146 incoming
Module 145 incoming
Module 144 incoming
Module 143 incoming
Module 142 incoming
Module 141 incoming
Module 139 incoming
Module 138 incoming
Module 137 incoming
Module 136 incoming
Module 135 incoming
Module 134 incoming
Module 133 incoming
Module 132 incoming
Module 131 incoming
Module 130 incoming
Module 129 incoming
Module 128 incoming
Module 127 incoming
Module 125 incoming
Module 124 incoming
Module 123 incoming
Module10
Module 022
Module 057
mouseover experiment
Manufactured complaints modules evolutionary chain 02s'
Manufactured and learned clues is the 03's realm in the evolutioary chains
Manufacturing all the ammounts found in the clues and the compaints 04's
Manufacturaing pictoral messages depicting 001 first event 05's
The 05's have a tight evolutionary chain with their own functions
Stop thinking like a dummy the 06's evolution chain
Your doing WHAT? The 007 evolutionary chain
008 evolutionary chain Boring? Not if you like listed things to follow.
The 009 evolutionary chain all about standards policies and convictions
The 010 evolutionary chain extra extra read all about it!
html framework
search page ap
The 011 Module a place to make copies
search engine2
Manufacturing the plainly stated obvious 012 evolutionary chain
Link list
Gallery
Preface
auto hot key website link
PERFORMANCE CYCLE CODE PARENTHETICAL CIRCUIT
page
Explaination of Communication font in the brain
The taddler
fix for startup
fffiiixxx startup
blue screen opf eth
test links to teach html
testjj
Module2.htm
Lets get started.
greetings menu
Menu creator language html for customization to website
NAVBAR HTML
drop down menu creation
Crating drop down menus
drop down menu tutorial
testing css background
molecular bond camp
calculator info
Page1
book
quick html guide
progress bar
<266module>
499 O'second law
Data privacy
change background of page
Glossary
receptor science
keepandshare website notes
grid7
mouseover span
backup for leadpage
psychic trail
Where am I on the Map?
Newsletter for Jennifer
Sheild
JennifertheHUD board
psychic--trail
google-site-verification: googlefae8f26452a8b628.html
links website m
Creating a natural HIGH in the Brain
How do I describe myself?
dropdown menus
Names
Dates
Locations
Trainer
Yourvocab
chat
container
dropdown.css
css selector
css tutorial dropdown
drop downhtmlcode
Wordpress
Css
Joomla
JavaScript
Web Design
Ask Me a Question
Drupal
General Inquiries
Concrete
001
002
003
004
005
Whats the problem?
newp
html symbols
test drop down toggle check box
4 slots
psyche survey
quiz2
slots7
quiz questions
Jennifer quiz
survey
newq
What is thousanding?
Character Roll call
Make me bark trick
Test tempate howdy partner
Make me spell script
Howdy partner mouth-abet script
Howdy partner safety script
Howdy partner urgency script
Howdy Partner flow charting commands script
Howdy Partner obedience script
Howdy partner Taddler script
Howdy partner counting script
Howdy partner make me teach howdy partner to another module script
Howdy partner make me spell script
The Howdy partner suite
Howdy Partner Menu
Make-me-bark-trick
Make me bark trick,htm
experiences
cartooning advice
recruiting talent
business plan templates
charity business plan
business plan ophgobinipnep
Pain control
My twitter posts pain relief
292 signalling alert
 

Crating drop down menus

 

How to Create a Drop-Down List in an HTML5 Form


By Andy Harris

Drop-down lists are a common feature in web pages, and HTML5 makes creating them pretty foolproof. Drop-down lists allow you, the programmer, to specify a number of choices that visitors to your website can make without typing (a list is shown in the figure). Drop-down lists are especially nice because they don’t require a lot of screen real estate — the options are visible only while the user is selecting them.

image0.jpg

Drop-down lists have an incredibly valuable attribute in that they prevent certain kinds of errors. The limited options make the response very predictable because you predetermine all the possible answers. You don’t have to deal with all the crazy things users may type into a text box.

In HTML5/XHTML, drop-down lists are created by two types of object. The overall structure uses the <select> tags, while each of the possible choices has its own <option> tag, as the code for a web page with a drop-down list shows:

<!DOCTYPE HTML>
<html lang = "en">
  <head>
    <title>formDemo.html</title>
    <meta charset = "UTF-8" />
  </head>
  <body>
    <h1>Form Demo</h1>
    <form>
       <fieldset>
          <legend>Selecting elements</legend>
          <p>
             <label>Select list</label>
             <select id = "myList">
               <option value = "1">one</option>
               <option value = "2">two</option>
               <option value = "3">three</option>
               <option value = "4">four</option>
             </select>
          </p>
       </fieldset>
    </form>
  </body>
</html>

The select list is a real powerhouse, so you should know how to make it:

  1. Create the <select> element first.

    The container for the list is a <select> element. The entire list is encased in the <select></select> pair.

  2. Give the select element an ID.

    You’ll use this ID to refer to the element in code.

  3. Add an option element to the select element.

    It helps to indent the options to remind yourself that they’re part of the select object.

  4. Give each option a value.

    The value is the response sent to a program when the user chooses an option. The user will not necessarily see the value.

  5. Indicate the text the user will see between the <option> and </option> tags.

    This can be different from the value, or the same. (That will make more sense after you do some JavaScript coding.)

  6. Add as many options as you want.

    Create a new option object for each choice you want to have available in the list.

Select boxes don’t have to have the drop-down behavior. If you want the box to take up more vertical space on the page, just specify the number of rows with the size attribute.

 
 


Today, there have been 28153 visitors (60201 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free