HTML CSS Reference/HTML Attributes Reference/action

Материал из Web эксперт
Версия от 11:20, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"action" Example

   <source lang="html4strict">
   

<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>


     </source>
   
  


action is applied to

   <source lang="html4strict">

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

     </source>
   
  


"action" Syntax and Note

   <source lang="html4strict">

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>


     </source>