diff options
Diffstat (limited to 'files/fr/web/html/element/main/index.html')
| -rw-r--r-- | files/fr/web/html/element/main/index.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/files/fr/web/html/element/main/index.html b/files/fr/web/html/element/main/index.html index b9f73033d3..6f5982049c 100644 --- a/files/fr/web/html/element/main/index.html +++ b/files/fr/web/html/element/main/index.html @@ -16,8 +16,6 @@ translation_of: Web/HTML/Element/main <div>{{EmbedInteractiveExample("pages/tabbed/main.html","tabbed-shorter")}}</div> -<p class="hidden">Le code source de cet exemple interactif est disponible dans un dépôt GitHub. Si vous souhaitez contribuez à ces exemples, n'hésitez pas à cloner <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> et à envoyer une <em>pull request</em> !</p> - <h2 id="Attributs">Attributs</h2> <p>Cet élément prend uniquement en charge <a href="/fr/docs/Web/HTML/Attributs_universels">les attributs universels</a>.</p> @@ -73,7 +71,7 @@ translation_of: Web/HTML/Element/main <p>Ajouter un attribut {{htmlattrxref("id")}} à l'élément <code><main></code> lui permet d'être une cible pour la navigation rapide.</p> -<pre><span class="tag"><body</span><span class="tag">> +<pre><body> <a href="#main-content">Aller au contenu principal</a> <!-- Contenu relatif à la navigation et en-tête du document --> @@ -81,7 +79,7 @@ translation_of: Web/HTML/Element/main <main id="main-content"> <!-- Contenu principal de la page --> </main> -</body></span> +</body> </pre> <ul> |
