------------------- HTML Form elements ------------------- The Element ------------------- The most important form element is the ```` element. The ```` element can be displayed in several ways, depending on the type attribute. .. code-block:: html :linenos:

HTML input Element


The element defines a **drop-down list**: .. code-block:: html :linenos:

HTML input Element


.. note:: The `` .. note:: **Visible Values:** Use the ``size`` attribute to specify the number of visible values. Example: .. code-block:: html :linenos: .. note:: **Allow Multiple Selections:** Use the ``multiple`` attribute to allow the user to select more than one value. Example: .. code-block:: html :linenos: The
.. Note:: * The ``rows`` attribute specifies the visible number of lines in a text area. * The ``cols`` attribute specifies the visible width of a text area. The .. Note:: Always specify the type attribute for the button element. Different browsers may use different default types for the button element.