The HTML Elements reference

"select" - html element

  • This element defines a form control for the selection of options. It is is most useful within a FORM.
  • Starttag <select> is Required and endtag </select> is Required
  • The element can contain one or more 'optgroup' or 'option' elements to provide a menu of choices for the user.
  • Browsers that support the select - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "select" example:
<html>
  <body>
    <form method="get" action="http://w3processing.com/index.php">
     <input type="hidden" name="subMenuId" value="207"/>
      <p>
      <label for="menu">Select theme?</label><br />
      <select name="HTMLelement" id="menu">
      <option value="blockquote">Structure Elements reference</option>
      <option value="base">Head Elements reference</option>
      <option value="a">Formating Elements reference</option>
      </select>
      </p>
      <input type="submit" value="subimt" />
    </form>
  </body>
</html>


Attributes:
class , dir , disabled , id , lang , multiple , name , size , style , tabindex , title

Attribute "class" value(s): A list of style class names that must be separated by white space characters.
  • This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
  • You will find more about this in the CSS learning on this site.



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.