diff options
author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/document/activeelement | |
parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip |
convert content to md
Diffstat (limited to 'files/fr/web/api/document/activeelement')
-rw-r--r-- | files/fr/web/api/document/activeelement/index.md | 29 |
1 files changed, 17 insertions, 12 deletions
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 --- -<p>{{ ApiRef() }}</p> -<h3 id="R.C3.A9sum.C3.A9">Résumé</h3> -<p>Renvoie l'élément qui dispose actuellement du focus.</p> -<p>{{ Note("Cet attribut fait partie de la spécification HTML 5 encore en développement.") }}</p> -<h3 id="Syntaxe">Syntaxe</h3> -<pre class="eval">var elemCourant = document.activeElement; -</pre> -<h3 id="Exemple">Exemple</h3> -<h3 id="Sp.C3.A9cification">Spécification</h3> -<ul> - <li><a href="http://www.whatwg.org/specs/web-apps/current-work/#focus-management">Focus management</a> (brouillon de travail HTML 5)</li> -</ul>
\ 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) |