From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- files/fr/web/api/htmlformelement/action/index.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'files/fr/web/api/htmlformelement/action') diff --git a/files/fr/web/api/htmlformelement/action/index.md b/files/fr/web/api/htmlformelement/action/index.md index 7faeadc67a..612ca4a371 100644 --- a/files/fr/web/api/htmlformelement/action/index.md +++ b/files/fr/web/api/htmlformelement/action/index.md @@ -3,24 +3,23 @@ title: HTMLFormElement.action slug: Web/API/HTMLFormElement/action translation_of: Web/API/HTMLFormElement/action --- -
{{APIRef("HTML DOM")}}
+{{APIRef("HTML DOM")}} -

La propriété HTMLFormElement.action représente l'action associée à l'élément {{HTMLElement("form")}}.

+La propriété **`HTMLFormElement.action`** représente l'action associée à l'élément {{HTMLElement("form")}}. -

L'action d'un formulaire est le programme exécuté sur le serveur lorsque le formulaire est soumis. Cette propriété peut être récupérée ou définie.

+L'action d'un formulaire est le programme exécuté sur le serveur lorsque le formulaire est soumis. Cette propriété peut être récupérée ou définie. -

Syntaxe

+## Syntaxe -
string = form.action
-form.action = string
-
+ string = form.action + form.action = string -

Exemple

+## Exemple -

form.action = "/cgi-bin/publish";

+form.action = "/cgi-bin/publish"; -

Spécification

+## Spécification -

HTML 5, Section 4.10.19.6, Form submission

+[HTML 5, Section 4.10.19.6, Form submission](http://www.w3.org/TR/html5/association-of-controls-and-forms.html#dom-fs-method) -

DOM Level 2 HTML: action

+[DOM Level 2 HTML: action](http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-74049184) -- cgit v1.2.3-54-g00ecf