aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/htmlinputelement/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/htmlinputelement/index.html')
-rw-r--r--files/fr/web/api/htmlinputelement/index.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/files/fr/web/api/htmlinputelement/index.html b/files/fr/web/api/htmlinputelement/index.html
index 6a61fadaed..05a9d8bdd6 100644
--- a/files/fr/web/api/htmlinputelement/index.html
+++ b/files/fr/web/api/htmlinputelement/index.html
@@ -77,7 +77,7 @@ translation_of: Web/API/HTMLInputElement
<tr>
<td><code>value</code></td>
<td><code><em>string</em></code><em>:</em> <strong>Returns / Sets</strong> the current value of the control.
- <p class="note"><strong>Note:</strong> If the user enters a value different from the value expected, this may return an empty string.</p>
+ <div><p><strong>Note :</strong> If the user enters a value different from the value expected, this may return an empty string.</p></div>
</td>
</tr>
<tr>
@@ -96,7 +96,7 @@ translation_of: Web/API/HTMLInputElement
</table>
<table class="standard-table">
- <caption><a id="Properties_checkbox_radio" name="Properties_checkbox_radio"></a>Properties that apply only to elements of type <code>"checkbox"</code> or <code>"radio"</code></caption>
+ <caption>Properties that apply only to elements of type <code>"checkbox"</code> or <code>"radio"</code></caption>
<tbody>
<tr>
<td><code>checked</code></td>
@@ -107,7 +107,7 @@ translation_of: Web/API/HTMLInputElement
<td><em>{{jsxref("Boolean")}}:</em> <strong>Returns / Sets</strong> the default state of a radio button or checkbox as originally specified in HTML that created this object.</td>
</tr>
<tr>
- <td><code><a id="indeterminate" name="indeterminate"></a>indeterminate</code></td>
+ <td><code>indeterminate</code></td>
<td><em>{{jsxref("Boolean")}}:</em> <strong>Returns</strong> whether the checkbox or radio button is in indeterminate state. For checkboxes, the effect is that the appearance of the checkbox is obscured/greyed in some way as to indicate its state is indeterminate (not checked but not unchecked). Does not affect the value of the <code>checked</code> attribute, and clicking the checkbox will set the value to false.</td>
</tr>
</tbody>
@@ -136,7 +136,7 @@ translation_of: Web/API/HTMLInputElement
</table>
<table class="standard-table">
- <caption><a id="Properties_file" name="Properties_file"></a>Properties that apply only to elements of type <code>"file"</code></caption>
+ <caption>Properties that apply only to elements of type <code>"file"</code></caption>
<tbody>
<tr>
<td><code>accept</code></td>
@@ -147,7 +147,7 @@ translation_of: Web/API/HTMLInputElement
<td><em>{{jsxref("Boolean")}}:</em> Part of the non-standard Directory Upload API; <strong>indicates</strong> whether or not to allow directories and files both to be selected in the file list. Implemented only in Firefox and is hidden behind a preference.</td>
</tr>
<tr>
- <td><a id="files_prop" name="files_prop"><code>files</code></a></td>
+ <td><code>files</code></td>
<td><strong>Returns/accepts</strong> a {{domxref("FileList")}} object, which contains a list of {{domxref("File")}} objects representing the files selected for upload.</td>
</tr>
<tr>
@@ -176,7 +176,7 @@ translation_of: Web/API/HTMLInputElement
</tr>
<tr>
<td><code>maxLength</code></td>
- <td><em><code>long</code>:</em> <strong>Returns / Sets</strong> the element's {{ htmlattrxref("maxlength", "input") }} attribute, containing the <u><strong>maximum number of characters</strong></u> (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
+ <td><em><code>long</code>:</em> <strong>Returns / Sets</strong> the element's {{ htmlattrxref("maxlength", "input") }} attribute, containing the <strong>maximum number of characters</strong> (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
</tr>
<tr>
<td><code>min</code></td>
@@ -184,11 +184,11 @@ translation_of: Web/API/HTMLInputElement
</tr>
<tr>
<td><code>minLength</code></td>
- <td><em><code>long</code>:</em> <strong>Returns / Sets</strong> the element's {{ htmlattrxref("minlength", "input") }} attribute, containing the <u><strong>minimum number of characters</strong></u> (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
+ <td><em><code>long</code>:</em> <strong>Returns / Sets</strong> the element's {{ htmlattrxref("minlength", "input") }} attribute, containing the <strong>minimum number of characters</strong> (in Unicode code points) that the value can have. (If you set this to a negative number, an exception will be thrown.)</td>
</tr>
<tr>
<td><code>pattern</code></td>
- <td><em><code>string</code>:</em> <strong>Returns / Sets</strong> the element's {{ htmlattrxref("pattern", "input") }} attribute, containing a <u><strong>regular expression</strong></u> that the control's value is checked against. Use the {{htmlattrxref("title","input")}} attribute to describe the pattern to help the user. This attribute applies when the value of the {{htmlattrxref("type","input")}} attribute is <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code> or <code>email</code>; otherwise it is ignored.</td>
+ <td><em><code>string</code>:</em> <strong>Returns / Sets</strong> the element's {{ htmlattrxref("pattern", "input") }} attribute, containing a <strong>regular expression</strong> that the control's value is checked against. Use the {{htmlattrxref("title","input")}} attribute to describe the pattern to help the user. This attribute applies when the value of the {{htmlattrxref("type","input")}} attribute is <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code> or <code>email</code>; otherwise it is ignored.</td>
</tr>
<tr>
<td><code>placeholder</code></td>
@@ -216,7 +216,7 @@ translation_of: Web/API/HTMLInputElement
</tr>
<tr>
<td><code>size</code></td>
- <td><em><code>unsigned long</code>:</em> <strong>Returns / Sets </strong>the element's {{ htmlattrxref("size", "input") }} attribute, containing <u><strong>visual size of the control</strong></u>. This value is in pixels unless the value of {{htmlattrxref("type","input")}} is <code>text</code> or <code>password</code>, in which case, it is an integer number of characters. Applies only when {{htmlattrxref("type","input")}} is set to <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code>, <code>email</code>, or <code>password</code>; otherwise it is ignored.</td>
+ <td><em><code>unsigned long</code>:</em> <strong>Returns / Sets </strong>the element's {{ htmlattrxref("size", "input") }} attribute, containing <strong>visual size of the control</strong>. This value is in pixels unless the value of {{htmlattrxref("type","input")}} is <code>text</code> or <code>password</code>, in which case, it is an integer number of characters. Applies only when {{htmlattrxref("type","input")}} is set to <code>text</code>, <code>search</code>, <code>tel</code>, <code>url</code>, <code>email</code>, or <code>password</code>; otherwise it is ignored.</td>
</tr>
</tbody>
</table>