HTML CSS Reference/HTML Attributes Reference/action

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

"action" Example

<Title>Example For action</Title>
<form action="" 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
       <input type=submit onClick="return false">

action is applied to

| Applied_To     |<form>                          <isindex>                     |

"action" Syntax and 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.
<element action="value"> . . . </element>