O'Reilly logo

Head First Servlets and JSP, 2nd Edition by Bert Bates, Bryan Basham, Kathy Sierra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Our dynamic <select> tag isn’t complete...

image with no caption

The HTML <select> tag accepts many more tag attributes than just name and size:

Core attributes: id, class, style, and title

Internationalization attributes: lang and dir

Event attributes:

onclick, ondblclick, onmouseup, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeyup, and onkeydown

Form attributes:

name, disabled, multiple, size, tabindex, onfocus, onblur, and onchange

Note

You can use these to make list boxes and list menus.

image with no caption

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required