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/document/activeelement/index.md | 29 ++++++++++++++---------- 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'files/fr/web/api/document/activeelement') diff --git a/files/fr/web/api/document/activeelement/index.md b/files/fr/web/api/document/activeelement/index.md index 2b09fac218..89a9f037c9 100644 --- a/files/fr/web/api/document/activeelement/index.md +++ b/files/fr/web/api/document/activeelement/index.md @@ -7,15 +7,20 @@ translation_of: Web/API/DocumentOrShadowRoot/activeElement translation_of_original: Web/API/Document/activeElement original_slug: Web/API/DocumentOrShadowRoot/activeElement --- -

{{ ApiRef() }}

-

Résumé

-

Renvoie l'élément qui dispose actuellement du focus.

-

{{ Note("Cet attribut fait partie de la spécification HTML 5 encore en développement.") }}

-

Syntaxe

-
var elemCourant = document.activeElement;
-
-

Exemple

-

Spécification

- \ No newline at end of file +{{ ApiRef() }} + +### Résumé + +Renvoie l'élément qui dispose actuellement du focus. + +{{ Note("Cet attribut fait partie de la spécification HTML 5 encore en développement.") }} + +### Syntaxe + + var elemCourant = document.activeElement; + +### Exemple + +### Spécification + +- [Focus management](http://www.whatwg.org/specs/web-apps/current-work/#focus-management) (brouillon de travail HTML 5) -- cgit v1.2.3-54-g00ecf