HTML CSS Reference/HTML Attributes Reference/action

Материал из Web эксперт
Перейти к: навигация, поиск

"action" Example

    
<HTML>
<Title>Example For action</Title>
<BODY>
<form action="http://www.wbex.ru" method="post">
    Enter the car maker of your choice:
       <select name="Car">
          <option value="Honda">Honda
          <option value="Chevrolet">Chevrolet
          <option value="Buick" selected>Buick
       </select>
       <input type=submit onClick="return false">
</form>
</BODY>
</HTML>



action is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<form>                          <isindex>                     |
+----------------+--------------------------------------------------------------+



"action" Syntax and Note

Note:
    
This attribute specifies the URL that will receive the form content. 
If no URL is specified, the base URL of the form is used.
    
Syntax:
    
<element action="value"> . . . </element>