The following form has a really long pull-down menu. Such a menu is probably too long to be useful in practice, but the point is to demonstrate that we can produce some useful stuff by using JavaScript to write our HTML for us. Depending on your browser, you may not be able to see the code, so I've produced it here:

startyear = 1900;
now = new Date();
endyear = now.getYear();

year = startyear; 
while( year < endyear ) {
    document.write("<option value="+year+"> " +year );
    year = year + 1;
}

Please select your birth year: