diff options
Diffstat (limited to 'files/fr/web/api/treewalker/currentnode/index.html')
-rw-r--r-- | files/fr/web/api/treewalker/currentnode/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/fr/web/api/treewalker/currentnode/index.html b/files/fr/web/api/treewalker/currentnode/index.html index 4a57bb944d..3af4a1f311 100644 --- a/files/fr/web/api/treewalker/currentnode/index.html +++ b/files/fr/web/api/treewalker/currentnode/index.html @@ -13,13 +13,13 @@ translation_of: Web/API/TreeWalker/currentNode <p>La propriété <code><strong>TreeWalker.currentNode</strong></code> représente le {{domxref("Node")}} (<em>noeud</em>) sur lequel le {{domxref("TreeWalker")}} est actuellement pointé.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> +<h2 id="Syntax">Syntaxe</h2> <pre class="syntaxbox"><em>node</em> = <em>treeWalker</em>.currentNode; <code><em>treeWalker</em></code>.currentNode = <em>node</em>; </pre> -<h2 id="Example" name="Example">Exemple</h2> +<h2 id="Example">Exemple</h2> <pre class="brush: js">var treeWalker = document.createTreeWalker( document.body, @@ -30,7 +30,7 @@ translation_of: Web/API/TreeWalker/currentNode root = treeWalker.currentNode; // l'élément racine car c'est le premier élément! </pre> -<h2 id="Specification" name="Specification">Spécifications</h2> +<h2 id="Specification">Spécifications</h2> <table class="standard-table"> <tbody> |