< HTML < Overzicht attributen
Inhoudsopgave |
Functie
Het attribuut action wordt alleen gebruikt bij het element form. Dit attribuut verwijst naar een pagina die het formulier kan verwerken.
Waarde
De waarde voor de attribuut met een URI zijn. Deze URI moet verwijzen naar een pagina die het formulier kan verwerken.
Voorbeeld
HTML-code: Een voorbeeld van het gebruik van het action attribuut
<form action="http://nl.wikibooks.org/w/index.php" method="get">
typ hier een artikel: <input type="text" name="title" />
<input type="submit" value="Boek" />
</form>
Wordt gebruikt bij
Meer informatie
- w3c (Engels)
HTML attributen |
abbr | accept | accept-charset | accesskey | action | align | alt | archive | axis | background | bgcolor | border | cellpadding | cellspacing | char | charoff | charset | checked | cite | class | classid | clear | code | codebase | codetype | color | cols | colspan | compact | content | coords | data | datetime | declare | defer | dir | disabled | enctype | face | for | href | id | lang | style | title | width |
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.