diff options
Diffstat (limited to 'files/fr/web/api/document/writeln')
| -rw-r--r-- | files/fr/web/api/document/writeln/index.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/files/fr/web/api/document/writeln/index.html b/files/fr/web/api/document/writeln/index.html index 046c069cbc..eb06d11321 100644 --- a/files/fr/web/api/document/writeln/index.html +++ b/files/fr/web/api/document/writeln/index.html @@ -12,29 +12,27 @@ translation_of: Web/API/Document/writeln <p>Écrit une chaine de caractères suivie d'un retour de ligne.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> +<h2 id="Syntax">Syntaxe</h2> -<pre class="eval notranslate">document.writeln(<em>ligne</em>); +<pre class="eval">document.writeln(<em>ligne</em>); </pre> -<h3 id="Parameters" name="Parameters">Paramètres</h3> +<h3 id="Parameters">Paramètres</h3> <ul> <li><code>ligne</code> est la chaine de caractère contenant le texte.</li> </ul> -<h2 id="Example" name="Example">Exemple</h2> +<h2 id="Example">Exemple</h2> <pre class="notranslate">document.writeln("<p>Entrez votre mot de passe :</p>"); </pre> -<h2 id="Notes" name="Notes">Notes</h2> +<h2 id="Notes">Notes</h2> <p><strong>document.writeln </strong>est identique à <a href="/en-US/docs/Web/API/Document/write">{{domxref("document.write")}}</a>, mais ajoute une nouvelle ligne.</p> -<div class="note"><strong>Note :</strong> <strong>document.writeln</strong> (comme <strong>document.write</strong>) n'a aucun effet en XHTML documents (vous obtiendrez une erreur "Operation is not supported" (<code>NS_ERROR_DOM_NOT_SUPPORTED_ERR</code>) dans la console). Ceci est le cas si un fichier est ouvert en local avec l'extension .xhtml ou pour tous documents utilisant le type MIME application/xhtml+xml. Pour plus d'informations, visitez <a class="external" href="http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite" title="http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite">W3C XHTML FAQ</a>.</div> - -<h2 id="Specification" name="Specification">Spécifications</h2> +<h2 id="Specification">Spécifications</h2> <table class="standard-table"> <tbody> |
