HTML5 brings the biggest changes to HTML in years. Web designers
now have new techniques, from displaying video and audio natively in HTML,
to creating realtime graphics on a web page without a plugin.
This book provides a collection of solutions to all of the most common HTML5 problems.
Every solution contains sample code that is production-ready and can be applied to any project.
An HTML Select list is a form control used to create a drop-down list of items from which
the user can select. Each item in a select list is defined by an option element. The most
basic code for an HTML select list is shown below.
The multiple attribute allows the user to select multiple items in the list.
Note: the user must press and hold the [Ctrl] key while selecting multiple items.
When the user selects one of the items in a select list, an onchange
event is triggered. The selectedIndex property will then contain the
index of the item that the user selected. Select list option indexes start with
0 for the first item.
How to take advantage of HTML5 to create amazing websites and revolutionary applications
This book is not an introduction of HTML5 but instead a complete course that will
teach you how to build compelling websites and amazing web applications from scratch.
Every chapter explores basic concepts as well as complicated issues of HTML5, CSS3 and Javascript.
Concepts are supported by fully functional codes to guide beginners and experts
through every single tag, style or function included in the specification.