diff --git a/files/en-us/web/api/htmlelement/forcespellcheck/index.html b/files/en-us/web/api/htmlelement/forcespellcheck/index.html index 1c1cf92e344a9db..e9cdf373ee7cc38 100644 --- a/files/en-us/web/api/htmlelement/forcespellcheck/index.html +++ b/files/en-us/web/api/htmlelement/forcespellcheck/index.html @@ -2,14 +2,14 @@ title: HTMLElement.forceSpellCheck() slug: Web/API/HTMLElement/forceSpellCheck tags: -- API -- Experimental -- HTML DOM -- HTMLElement -- Method -- NeedsExample -- NeedsSpecTable -- Reference + - API + - Experimental + - HTML DOM + - HTMLElement + - Method + - NeedsExample + - NeedsSpecTable + - Reference ---

{{ APIRef("HTML DOM") }}{{SeeCompatTable}}

@@ -31,6 +31,6 @@

See also

diff --git a/files/en-us/web/api/htmlelement/lostpointercapture_event/index.html b/files/en-us/web/api/htmlelement/lostpointercapture_event/index.html index c75071582120a26..1a3aba19f62c3c5 100644 --- a/files/en-us/web/api/htmlelement/lostpointercapture_event/index.html +++ b/files/en-us/web/api/htmlelement/lostpointercapture_event/index.html @@ -11,7 +11,7 @@ ---
{{APIRef}}
-

The lostpointercapture event is fired when a captured pointer is released.

+

The lostpointercapture event is fired when a captured pointer is released.

@@ -29,7 +29,7 @@ - +
Event handler propertyonlostpointercaptureonlostpointercapture
diff --git a/files/en-us/web/api/htmlelement/oncopy/index.html b/files/en-us/web/api/htmlelement/oncopy/index.html index a8e2d95b23c897a..fd2a9b3f2129965 100644 --- a/files/en-us/web/api/htmlelement/oncopy/index.html +++ b/files/en-us/web/api/htmlelement/oncopy/index.html @@ -2,15 +2,15 @@ title: HTMLElement.oncopy slug: Web/API/HTMLElement/oncopy tags: -- API -- Event Handler -- Experimental -- HTMLElement -- NeedsSpecTable -- Property -- Reference + - API + - Event Handler + - Experimental + - HTMLElement + - NeedsSpecTable + - Property + - Reference --- -
{{ APIRef("HTML DOM") }}{{SeeCompatTable}} {{ Fx_minversion_header(3) }}
+
{{ APIRef("HTML DOM") }}{{SeeCompatTable}}

The oncopy property of the {{domxref("HTMLElement")}} interface is an {{domxref("EventHandler")}} that processes diff --git a/files/en-us/web/api/htmlelement/outertext/index.html b/files/en-us/web/api/htmlelement/outertext/index.html index dd35ccb9856f2dc..0db329315553cf7 100644 --- a/files/en-us/web/api/htmlelement/outertext/index.html +++ b/files/en-us/web/api/htmlelement/outertext/index.html @@ -11,7 +11,7 @@ ---

{{APIRef("DOM")}} {{ Non-standard_header() }}
-

HTMLElement.outerText is a non-standard property. As a getter, it returns the same value as {{domxref("Node.innerText")}}. As a setter, it removes the current node and replaces it with the given text.

+

HTMLElement.outerText is a non-standard property. As a getter, it returns the same value as {{domxref("HTMLElement.innerText")}}. As a setter, it removes the current node and replaces it with the given text.

Example

@@ -28,6 +28,6 @@

Browser compatibility

See also

diff --git a/files/en-us/web/api/htmlelement/pointermove_event/index.html b/files/en-us/web/api/htmlelement/pointermove_event/index.html index 29fcb52a1b1d57c..f1b4b731e3e4651 100644 --- a/files/en-us/web/api/htmlelement/pointermove_event/index.html +++ b/files/en-us/web/api/htmlelement/pointermove_event/index.html @@ -10,7 +10,7 @@ ---
{{APIRef}}
-

The pointermove event is fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action.

+

The pointermove event is fired when a pointer changes coordinates, and the pointer has not been canceled by a browser touch-action.

diff --git a/files/en-us/web/api/htmlelement/transitionend_event/index.html b/files/en-us/web/api/htmlelement/transitionend_event/index.html index 4411a9b7a318532..e6bb077a5ac5ae2 100644 --- a/files/en-us/web/api/htmlelement/transitionend_event/index.html +++ b/files/en-us/web/api/htmlelement/transitionend_event/index.html @@ -12,7 +12,7 @@ ---
{{APIRef}}
-

The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the {{cssxref("transition-property")}} is removed or {{cssxref("display")}} is set to none, then the event will not be generated.

+

The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the {{cssxref("transition-property")}} is removed or {{cssxref("display")}} is set to none, then the event will not be generated.

diff --git a/files/en-us/web/api/htmlelement/transitionrun_event/index.html b/files/en-us/web/api/htmlelement/transitionrun_event/index.html index ceff78455f41825..572ca0ac86d8844 100644 --- a/files/en-us/web/api/htmlelement/transitionrun_event/index.html +++ b/files/en-us/web/api/htmlelement/transitionrun_event/index.html @@ -13,7 +13,7 @@ ---
{{APIRef}}{{SeeCompatTable}}
-

The transitionrun event is fired when a CSS transition is first created, i.e. before any {{cssxref("transition-delay")}} has begun.

+

The transitionrun event is fired when a CSS transition is first created, i.e. before any {{cssxref("transition-delay")}} has begun.

diff --git a/files/en-us/web/api/htmlformelement/acceptcharset/index.html b/files/en-us/web/api/htmlformelement/acceptcharset/index.html index fcd92d235ec76ee..428e8034afaa530 100644 --- a/files/en-us/web/api/htmlformelement/acceptcharset/index.html +++ b/files/en-us/web/api/htmlformelement/acceptcharset/index.html @@ -2,13 +2,13 @@ title: HTMLFormElement.acceptCharset slug: Web/API/HTMLFormElement/acceptCharset tags: -- API -- HTML DOM -- HTMLFormElement -- NeedsMarkupWork -- NeedsSpecTable -- Property -- Reference + - API + - HTML DOM + - HTMLFormElement + - NeedsMarkupWork + - NeedsSpecTable + - Property + - Reference ---
{{APIRef("HTML DOM")}}
@@ -19,8 +19,8 @@

Syntax

-
var string = form.acceptCharset;
-form.acceptCharset = string;
+
var string = form.acceptCharset;
+form.acceptCharset = string;
 

Example

diff --git a/files/en-us/web/api/htmlformelement/index.html b/files/en-us/web/api/htmlformelement/index.html index 97e1eee96fdb768..d26b002616e5862 100644 --- a/files/en-us/web/api/htmlformelement/index.html +++ b/files/en-us/web/api/htmlformelement/index.html @@ -226,7 +226,7 @@

Examples

Submitting forms and uploading files using XMLHttpRequest

-

If you want to know how to serialize and submit a form using the {{domxref("XMLHttpRequest")}} API, please read this paragraph.

+

If you want to know how to serialize and submit a form using the {{domxref("XMLHttpRequest")}} API, please read this paragraph.

Specifications

diff --git a/files/en-us/web/api/htmlformelement/reportvalidity/index.html b/files/en-us/web/api/htmlformelement/reportvalidity/index.html index 5b05218b5db9b87..598dd172905608c 100644 --- a/files/en-us/web/api/htmlformelement/reportvalidity/index.html +++ b/files/en-us/web/api/htmlformelement/reportvalidity/index.html @@ -2,17 +2,17 @@ title: HTMLFormElement.reportValidity() slug: Web/API/HTMLFormElement/reportValidity tags: -- HTML -- HTMLFormElement -- Method -- Reference + - HTML + - HTMLFormElement + - Method + - Reference ---
{{APIRef("HTML DOM")}}

The HTMLFormElement.reportValidity() method returns true if the element's child controls satisfy their validation constraints. When false is returned, cancelable - invalid events are fired for + invalid events are fired for each invalid child and validation problems are reported to the user.

Syntax

diff --git a/files/en-us/web/api/htmlformelement/submit_event/index.html b/files/en-us/web/api/htmlformelement/submit_event/index.html index 51991f1005dadab..5fe1ad70955c077 100644 --- a/files/en-us/web/api/htmlformelement/submit_event/index.html +++ b/files/en-us/web/api/htmlformelement/submit_event/index.html @@ -40,7 +40,7 @@

The submit event fires when the user clicks a submit button ({{HtmlElement("button")}} or {{HtmlElement('input/submit', '<input type="submit">')}}) or presses Enter while editing a field (e.g. {{HtmlElement('input/text', '<input type="text">')}}) in a form. The event is not sent to the form when calling the {{domxref("HTMLFormElement.submit()", "form.submit()")}} method directly.

-

Note: Trying to submit a form that does not pass validation triggers an {{domxref("HTMLInputElement/invalid_event", "invalid")}} event. In this case, the validation prevents form submission, and thus there is no submit event.

+

Note: Trying to submit a form that does not pass validation triggers an {{domxref("HTMLInputElement/invalid_event", "invalid")}} event. In this case, the validation prevents form submission, and thus there is no submit event.

Examples

diff --git a/files/en-us/web/api/htmliframeelement/csp/index.html b/files/en-us/web/api/htmliframeelement/csp/index.html index 333de00d7fcaed1..7e1e15a1d8b4107 100644 --- a/files/en-us/web/api/htmliframeelement/csp/index.html +++ b/files/en-us/web/api/htmliframeelement/csp/index.html @@ -2,18 +2,18 @@ title: HTMLIFrameElement.csp slug: Web/API/HTMLIFrameElement/csp tags: -- API -- CSP -- Content Security Policy -- HTML DOM -- HTMLIFrameElement -- Property -- Reference + - API + - CSP + - Content Security Policy + - HTML DOM + - HTMLIFrameElement + - Property + - Reference ---

{{SeeCompatTable}}{{APIRef("HTML DOM")}}

The csp property of the {{domxref("HTMLIFrameElement")}} - interface specifies the Content Security Policy that an + interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.

Syntax

diff --git a/files/en-us/web/api/htmliframeelement/index.html b/files/en-us/web/api/htmliframeelement/index.html index aa50c75f46e6cc0..9ba96c87857335b 100644 --- a/files/en-us/web/api/htmliframeelement/index.html +++ b/files/en-us/web/api/htmliframeelement/index.html @@ -23,7 +23,7 @@

Properties

{{domxref("HTMLIFrameElement.allow")}} {{experimental_inline}}
Is a list of origins the frame is allowed to display content from. This attribute also accepts the values self and src which represent the origin in the iframe's src attribute. The default value is src.
{{domxref("HTMLIFrameElement.allowfullscreen")}} {{experimental_inline}}
-
Is a {{domxref("Boolean")}} indicating whether the inline frame is willing to be placed into full screen mode. See Using full-screen mode for details.
+
Is a {{domxref("Boolean")}} indicating whether the inline frame is willing to be placed into full screen mode. See Using full-screen mode for details.
{{domxref("HTMLIFrameElement.allowPaymentRequest")}}
Is a {{domxref("Boolean")}} indicating whether the Payment Request API may be invoked inside a cross-origin iframe.
{{domxref("HTMLIFrameElement.contentDocument")}} {{readonlyInline}}
diff --git a/files/en-us/web/api/htmlimageelement/alt/index.html b/files/en-us/web/api/htmlimageelement/alt/index.html index 09797a09f748e8d..99eac01223e49f1 100644 --- a/files/en-us/web/api/htmlimageelement/alt/index.html +++ b/files/en-us/web/api/htmlimageelement/alt/index.html @@ -2,18 +2,18 @@ title: HTMLImageElement.alt slug: Web/API/HTMLImageElement/alt tags: -- API -- Element -- HTML -- HTML DOM -- HTMLImageElement -- Image -- Property -- Reference -- Text -- alt -- alternate -- fallback + - API + - Element + - HTML + - HTML DOM + - HTMLImageElement + - Image + - Property + - Reference + - Text + - alt + - alternate + - fallback ---

{{APIRef("HTML DOM")}}

@@ -184,9 +184,9 @@

Images containing diagrams or mapsWhen an image contains information presented as a diagram, chart, graph, or map, the alt text should provide the same information, at least in summary form. This is true whether the /me image is in a bitmapped format such as PNG or JPEG or in a vector format - like SVG.

+ href="/en-US/docs/Web/Media/Formats/Image_types#png">PNG or JPEG or in a vector format + like SVG.

- + @@ -300,7 +300,7 @@

Methods

- + @@ -350,11 +350,11 @@

Methods

{{domxref("HTMLInputElement.mozSetFileArray()")}} {{non-standard_inline}}
-
Sets the files selected on the input to the given array of {{domxref("File")}} objects. This is an alternative to mozSetFileNameArray() which can be used in frame scripts: a chrome script can open files as File objects and send them via message manager.
+
Sets the files selected on the input to the given array of {{domxref("File")}} objects. This is an alternative to mozSetFileNameArray() which can be used in frame scripts: a chrome script can open files as File objects and send them via message manager.
{{domxref("HTMLInputElement.mozGetFileNameArray()")}} {{non-standard_inline}}
Returns an array of all the file names from the input.
{{domxref("HTMLInputElement.mozSetFileNameArray()")}} {{non-standard_inline}}
-
Sets the filenames for the files selected on the input. Not for use in frame scripts, because it accesses the file system.
+
Sets the filenames for the files selected on the input. Not for use in frame scripts, because it accesses the file system.

Events

@@ -365,7 +365,7 @@

Events

input
Fires when the value of an {{HTMLElement("input")}}, {{HTMLElement("select")}}, or {{HTMLElement("textarea")}} element has been changed. Note that this is actually fired on the {{domxref("HTMLElement")}} interface and also applies to contenteditable elements, but we've listed it here because it is most commonly used with form input elements.
Also available via the oninput event handler property.
-
invalid
+
invalid
Fired when an element does not satisfy its constraints during constraint validation.
Also available via the oninvalid event handler property.
search
diff --git a/files/en-us/web/api/htmlinputelement/invalid_event/index.html b/files/en-us/web/api/htmlinputelement/invalid_event/index.html index 07982236973cb40..e4e2c1b4298945b 100644 --- a/files/en-us/web/api/htmlinputelement/invalid_event/index.html +++ b/files/en-us/web/api/htmlinputelement/invalid_event/index.html @@ -35,7 +35,7 @@
{{domxref("HTMLElement.blur()", "blur()")}}{{domxref("HTMLOrForeignElement/blur", "blur()")}} Removes focus from the input element; keystrokes will subsequently go nowhere.
Simulates a click on the input element.
{{domxref("HTMLElement.focus()", "focus()")}}{{domxref("HTMLOrForeignElement/focus", "focus()")}} Focuses on the input element; keystrokes will subsequently go to this element.
-

This event can be useful for displaying a summary of the problems with a form on submission. When a form is submitted, invalid events are fired at each form control that is invalid. The validity of submittable elements is checked before submitting their owner {{HtmlElement("form")}}, or after the checkValidity() method of the element or its owner <form> is called.

+

This event can be useful for displaying a summary of the problems with a form on submission. When a form is submitted, invalid events are fired at each form control that is invalid. The validity of submittable elements is checked before submitting their owner {{HtmlElement("form")}}, or after the checkValidity() method of the element or its owner <form> is called.

It is not checked on {{domxref("Element/blur_event", "blur")}}.

diff --git a/files/en-us/web/api/htmlinputelement/multiple/index.html b/files/en-us/web/api/htmlinputelement/multiple/index.html index b32eb7ecaca8c89..2901735358db2e2 100644 --- a/files/en-us/web/api/htmlinputelement/multiple/index.html +++ b/files/en-us/web/api/htmlinputelement/multiple/index.html @@ -34,7 +34,7 @@

Example

See also

diff --git a/files/en-us/web/api/htmlinputelement/search_event/index.html b/files/en-us/web/api/htmlinputelement/search_event/index.html index a964ace1ada78a3..28b918d14b1080d 100644 --- a/files/en-us/web/api/htmlinputelement/search_event/index.html +++ b/files/en-us/web/api/htmlinputelement/search_event/index.html @@ -35,7 +35,7 @@ -

There are several ways a search can be initiated, such as by pressing Enter while the {{HTMLElement("input")}} is focused, or, if the incremental attribute is present, after a UA-defined timeout elapses since the most recent keystroke (with new keystrokes resetting the timeout so the firing of the event is debounced).

+

There are several ways a search can be initiated, such as by pressing Enter while the {{HTMLElement("input")}} is focused, or, if the incremental attribute is present, after a UA-defined timeout elapses since the most recent keystroke (with new keystrokes resetting the timeout so the firing of the event is debounced).

Current UA implementations of <input type="search"> have an additional control to clear the field. Using this control also fires the search event. In that case the value of the {{HTMLElement("input")}} element will be the empty string.

diff --git a/files/en-us/web/api/htmlinputelement/select/index.html b/files/en-us/web/api/htmlinputelement/select/index.html index 6889c4b878d8343..86222e744b14760 100644 --- a/files/en-us/web/api/htmlinputelement/select/index.html +++ b/files/en-us/web/api/htmlinputelement/select/index.html @@ -2,12 +2,12 @@ title: HTMLInputElement.select() slug: Web/API/HTMLInputElement/select tags: -- API -- HTML DOM -- HTMLInputElement -- Method -- NeedsCompatTable -- Reference + - API + - HTML DOM + - HTMLInputElement + - Method + - NeedsCompatTable + - Reference ---
{{ APIRef("HTML DOM") }}
@@ -45,7 +45,7 @@

Result

Notes

Calling element.select() will not necessarily focus the input, so it is - often used with {{domxref("HTMLElement.focus()")}}.

+ often used with {{domxref("HTMLOrForeignElement.focus")}}.

In browsers where it is not supported, it is possible to replace it with a call to HTMLInputElement.setSelectionRange() with diff --git a/files/en-us/web/api/htmlinputelement/stepdown/index.html b/files/en-us/web/api/htmlinputelement/stepdown/index.html index 5f1b7193b1e75c6..dca8d9f7e25a26e 100644 --- a/files/en-us/web/api/htmlinputelement/stepdown/index.html +++ b/files/en-us/web/api/htmlinputelement/stepdown/index.html @@ -2,12 +2,12 @@ title: HTMLInputElement.stepDown() slug: Web/API/HTMLInputElement/stepDown tags: -- API -- HTML DOM -- HTMLInputElement -- Method -- Reference -- Text Field Selection API + - API + - HTML DOM + - HTMLInputElement + - Method + - Reference + - Text Field Selection API ---

{{APIRef("HTML DOM")}}
@@ -36,13 +36,13 @@ 1.

<!--  decrements by intervals of 900 seconds (15 minute) -->
-<input type="time" max="17:00" step="900">
+<input type="time" max="17:00" step="900">
 
 <!-- decrements by intervals of 7 days (one week) -->
-<input type="date" max="2019-12-25" step="7">
+<input type="date" max="2019-12-25" step="7">
 
 <!-- decrements by intervals of 12 months (one year) -->
-<input type="month" max="2019-12" step="12">
+<input type="month" max="2019-12" step="12">

The method, when invoked, changes the form control's value by the value given in the step attribute, multiplied by the parameter, within the constraints set diff --git a/files/en-us/web/api/htmlkeygenelement/index.html b/files/en-us/web/api/htmlkeygenelement/index.html index f222db32cff4b38..0162910fb0b1705 100644 --- a/files/en-us/web/api/htmlkeygenelement/index.html +++ b/files/en-us/web/api/htmlkeygenelement/index.html @@ -20,25 +20,25 @@

Properties

autofocus
-
Is a Boolean that reflects the {{ htmlattrxref("autofocus", "keygen") }} HTML attribute, indicating that the form control should have input focus when the page loads.
+
Is a Boolean that reflects the {{ htmlattrxref("autofocus", "keygen") }} HTML attribute, indicating that the form control should have input focus when the page loads.
challenge
-
Is a DOMString that reflects the {{ htmlattrxref("challenge", "keygen") }} HTML attribute, containing a challenge string that is packaged with the submitted key.
+
Is a DOMString that reflects the {{ htmlattrxref("challenge", "keygen") }} HTML attribute, containing a challenge string that is packaged with the submitted key.
form {{ReadOnlyInline}}
-
Is a HTMLFormElement that indicates the control's form owner, reflecting the {{ htmlattrxref("form", "keygen") }} HTML attribute if it is defined.
+
Is a HTMLFormElement that indicates the control's form owner, reflecting the {{ htmlattrxref("form", "keygen") }} HTML attribute if it is defined.
keytype
-
Is a DOMString that reflects the {{ htmlattrxref("keytype", "keygen") }} HTML attribute, containing the type of key used.
+
Is a DOMString that reflects the {{ htmlattrxref("keytype", "keygen") }} HTML attribute, containing the type of key used.
labels {{ReadOnlyInline}} {{ unimplemented_inline(556743) }}
-
Is a NodeList that represents a list of label elements associated with this keygen element.
+
Is a NodeList that represents a list of label elements associated with this keygen element.
name
-
Is a DOMString that reflects the {{ htmlattrxref("name", "keygen") }} HTML attribute, containing the name for the control that is submitted with form data.
+
Is a DOMString that reflects the {{ htmlattrxref("name", "keygen") }} HTML attribute, containing the name for the control that is submitted with form data.
type {{ReadOnlyInline}}
-
Is a DOMString that must be the value keygen.
+
Is a DOMString that must be the value keygen.
validationMessage {{ReadOnlyInline}}
-
Is a DOMString representing a localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
+
Is a DOMString representing a localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
validity {{ReadOnlyInline}}
Is a ValidityState representing the validity states that this element is in.
willValidate
-
Is a Boolean that is always false because keygen objects are never candidates for constraint validation.
+
Is a Boolean that is always false because keygen objects are never candidates for constraint validation.

Methods

@@ -54,7 +54,7 @@

Methods

checkValidity() - Boolean + Boolean Always returns true because keygen objects are never candidates for constraint validation. diff --git a/files/en-us/web/api/htmllabelelement/control/index.html b/files/en-us/web/api/htmllabelelement/control/index.html index 46dabebab2f298a..5857bb86cf86675 100644 --- a/files/en-us/web/api/htmllabelelement/control/index.html +++ b/files/en-us/web/api/htmllabelelement/control/index.html @@ -2,13 +2,13 @@ title: HTMLLabelElement.control slug: Web/API/HTMLLabelElement/control tags: -- Forms -- HTML DOM -- HTMLLabelElement -- Property -- Read-only -- Reference -- control + - Forms + - HTML DOM + - HTMLLabelElement + - Property + - Read-only + - Reference + - control ---
{{APIRef("HTML DOM")}}
@@ -65,5 +65,5 @@

See also

  • {{domxref("HTMLLabelElement")}}
  • {{domxref("HTMLElement")}}
  • {{HTMLElement("label")}}
  • -
  • HTML forms guide
  • +
  • HTML forms guide
  • diff --git a/files/en-us/web/api/htmllabelelement/form/index.html b/files/en-us/web/api/htmllabelelement/form/index.html index 93329f49153982c..e254d05477cb606 100644 --- a/files/en-us/web/api/htmllabelelement/form/index.html +++ b/files/en-us/web/api/htmllabelelement/form/index.html @@ -2,13 +2,13 @@ title: HTMLLabelElement.form slug: Web/API/HTMLLabelElement/form tags: -- Forms -- HTML DOM -- HTMLLabelElement -- Property -- Read-only -- Reference -- form + - Forms + - HTML DOM + - HTMLLabelElement + - Property + - Read-only + - Reference + - form ---
    {{APIRef("HTML DOM")}}
    @@ -63,5 +63,5 @@

    See also

  • {{domxref("HTMLLabelElement")}}
  • {{domxref("HTMLElement")}}
  • {{HTMLElement("label")}}
  • -
  • HTML forms guide
  • +
  • HTML forms guide
  • diff --git a/files/en-us/web/api/htmllabelelement/htmlfor/index.html b/files/en-us/web/api/htmllabelelement/htmlfor/index.html index 3f99f41db361ab1..3d154c6e8775e92 100644 --- a/files/en-us/web/api/htmllabelelement/htmlfor/index.html +++ b/files/en-us/web/api/htmllabelelement/htmlfor/index.html @@ -2,11 +2,11 @@ title: HTMLLabelElement.htmlFor slug: Web/API/HTMLLabelElement/htmlFor tags: -- Forms -- HTML DOM -- HTMLLabelElement -- Reference -- htmlFor + - Forms + - HTML DOM + - HTMLLabelElement + - Reference + - htmlFor ---
    {{APIRef("HTML DOM")}}
    @@ -64,5 +64,5 @@

    See also

  • {{domxref("HTMLLabelElement.control")}}
  • {{domxref("HTMLElement")}}
  • {{HTMLElement("label")}}
  • -
  • HTML forms guide
  • +
  • HTML forms guide
  • diff --git a/files/en-us/web/api/htmllinkelement/index.html b/files/en-us/web/api/htmllinkelement/index.html index 5f5020c8bb081d7..b43df87a5a7d77d 100644 --- a/files/en-us/web/api/htmllinkelement/index.html +++ b/files/en-us/web/api/htmllinkelement/index.html @@ -24,7 +24,7 @@

    Properties

    {{domxref("HTMLLinkElement.as")}}
    Is a {{domxref("DOMString")}} representing the type of content being loaded by the HTML link.
    {{domxref("HTMLLinkElement.crossOrigin")}} {{experimental_inline}}
    -
    Is a {{domxref("DOMString")}} that corresponds to the CORS setting for this link element. See CORS settings attributes for details.
    +
    Is a {{domxref("DOMString")}} that corresponds to the CORS setting for this link element. See CORS settings attributes for details.
    {{domxref("HTMLLinkElement.disabled")}}
    Is a Boolean which represents whether the link is disabled; currently only used with style sheet links.
    {{domxref("HTMLLinkElement.href")}}
    diff --git a/files/en-us/web/api/htmlmediaelement/crossorigin/index.html b/files/en-us/web/api/htmlmediaelement/crossorigin/index.html index ddf0800a4116b01..5a1da7c3541ad92 100644 --- a/files/en-us/web/api/htmlmediaelement/crossorigin/index.html +++ b/files/en-us/web/api/htmlmediaelement/crossorigin/index.html @@ -10,7 +10,7 @@ ---
    {{APIRef("HTML DOM")}}
    -

    The HTMLMediaElement.crossOrigin property is the CORS setting for this image element. See CORS settings attributes for details.

    +

    The HTMLMediaElement.crossOrigin property is the CORS setting for this image element. See CORS settings attributes for details.

    Specifications

    diff --git a/files/en-us/web/api/htmlmediaelement/ended_event/index.html b/files/en-us/web/api/htmlmediaelement/ended_event/index.html index 319bd1f865c181b..8df4d03f469654a 100644 --- a/files/en-us/web/api/htmlmediaelement/ended_event/index.html +++ b/files/en-us/web/api/htmlmediaelement/ended_event/index.html @@ -131,12 +131,12 @@

    See also

  • {{HTMLElement("video")}}
  • Media Capture and Streams
  • Web Audio API
  • diff --git a/files/en-us/web/api/htmlmediaelement/index.html b/files/en-us/web/api/htmlmediaelement/index.html index 54424a419d03b4a..8ccbe6c0f81d6b5 100644 --- a/files/en-us/web/api/htmlmediaelement/index.html +++ b/files/en-us/web/api/htmlmediaelement/index.html @@ -40,7 +40,7 @@

    Properties

    {{domxref("HTMLMediaElement.controlsList")}} {{readonlyinline}}
    Returns a {{domxref("DOMTokenList")}} that helps the user agent select what controls to show on the media element whenever the user agent shows its own set of controls. The DOMTokenList takes one or more of three possible values: nodownload, nofullscreen, and noremoteplayback.
    {{domxref("HTMLMediaElement.crossOrigin")}}
    -
    A {{domxref("DOMString")}} indicating the CORS setting for this media element.
    +
    A {{domxref("DOMString")}} indicating the CORS setting for this media element.
    {{domxref("HTMLMediaElement.currentSrc")}} {{readonlyinline}}
    Returns a {{domxref("DOMString")}} with the absolute URL of the chosen media resource.
    {{domxref("HTMLMediaElement.currentTime")}}
    @@ -123,7 +123,7 @@

    Obsolete attributes

    Is a unsigned long that indicates the number of samples that will be returned in the framebuffer of each MozAudioAvailable event. This number is a total for all channels, and by default is set to be the number of channels * 1024 (e.g., 2 channels * 1024 samples = 2048 total).

    -

    The mozFrameBufferLength property can be set to a new value for lower latency, larger amounts of data, etc. The size given must be a number between 512 and 16384. Using any other size results in an exception being thrown. The best time to set a new length is after the loadedmetadata event fires, when the audio info is known, but before the audio has started or MozAudioAvailable events have begun firing.

    +

    The mozFrameBufferLength property can be set to a new value for lower latency, larger amounts of data, etc. The size given must be a number between 512 and 16384. Using any other size results in an exception being thrown. The best time to set a new length is after the loadedmetadata event fires, when the audio info is known, but before the audio has started or MozAudioAvailable events have begun firing.

    {{domxref("HTMLMediaElement.mozSampleRate")}} {{readonlyinline}} {{non-standard_inline}} {{deprecated_inline}}
    Returns a double representing the number of samples per second that will be played. For example, 44100 samples per second is the sample rate used by CD audio.
    @@ -175,7 +175,7 @@

    Obsolete methods

    {{domxref("HTMLMediaElement.mozCaptureStreamUntilEnded()")}} {{non-standard_inline}}
    [enter description]
    {{domxref("HTMLMediaElement.mozGetMetadata()")}} {{non-standard_inline}} {{deprecated_inline}}
    -
    Returns {{jsxref('Object')}}, which contains properties that represent metadata from the playing media resource as {key: value} pairs. A separate copy of the data is returned each time the method is called. This method must be called after the loadedmetadata event fires.
    +
    Returns {{jsxref('Object')}}, which contains properties that represent metadata from the playing media resource as {key: value} pairs. A separate copy of the data is returned each time the method is called. This method must be called after the loadedmetadata event fires.
    {{domxref("HTMLMediaElement.mozLoadFrom()")}} {{non-standard_inline}} {{deprecated_inline}}
    This method, available only in Mozilla's implementation, loads data from another media element. This works similarly to load() except that instead of running the normal resource selection algorithm, the source is set to the other element's currentSrc. This is optimized so this element gets access to all of the other element's cached and buffered data; in fact, the two elements share downloaded data, so data downloaded by either element is available to both.
    diff --git a/files/en-us/web/api/htmlmediaelement/mscleareffects/index.html b/files/en-us/web/api/htmlmediaelement/mscleareffects/index.html index 4aecfe5ba47b05a..c1fba1deeaff380 100644 --- a/files/en-us/web/api/htmlmediaelement/mscleareffects/index.html +++ b/files/en-us/web/api/htmlmediaelement/mscleareffects/index.html @@ -30,5 +30,5 @@

    See also

    diff --git a/files/en-us/web/api/htmlmediaelement/msinsertaudioeffect/index.html b/files/en-us/web/api/htmlmediaelement/msinsertaudioeffect/index.html index 182663147809db0..da3f04b3728419d 100644 --- a/files/en-us/web/api/htmlmediaelement/msinsertaudioeffect/index.html +++ b/files/en-us/web/api/htmlmediaelement/msinsertaudioeffect/index.html @@ -2,12 +2,12 @@ title: HTMLMediaElement.msInsertAudioEffect() slug: Web/API/HTMLMediaElement/msInsertAudioEffect tags: -- API -- 'API:Microsoft Extensions' -- Method -- Non-standard -- Reference -- msInsertAudioEffect + - API + - API:Microsoft Extensions + - Method + - Non-standard + - Reference + - msInsertAudioEffect ---
    {{APIRef("HTML DOM")}}{{Non-standard_Header}}
    @@ -42,6 +42,6 @@

    See also

    diff --git a/files/en-us/web/api/htmlmediaelement/texttracks/index.html b/files/en-us/web/api/htmlmediaelement/texttracks/index.html index 225bb1fe46e197d..4c16374039f3e49 100644 --- a/files/en-us/web/api/htmlmediaelement/texttracks/index.html +++ b/files/en-us/web/api/htmlmediaelement/texttracks/index.html @@ -2,17 +2,17 @@ title: HTMLMediaElement.textTracks slug: Web/API/HTMLMediaElement/textTracks tags: -- API -- Audio -- HTML DOM -- HTMLMediaElement -- Media -- Property -- Reference -- Tracks -- Video -- Web -- textTracks + - API + - Audio + - HTML DOM + - HTMLMediaElement + - Media + - Property + - Reference + - Tracks + - Video + - Web + - textTracks ---
    {{APIRef("HTML DOM")}}{{draft}}
    @@ -151,7 +151,7 @@

    See also

  • {{DOMxRef("VideoTrack")}} and {{DOMxRef("VideoTrackList")}}
  • {{DOMxRef("AudioTrack")}} and {{DOMxRef("AudioTrackList")}}
  • VideoTrackList  - change, + change, addtrack and removetrack diff --git a/files/en-us/web/api/htmloptionelement/option/index.html b/files/en-us/web/api/htmloptionelement/option/index.html index 6360efe4a46dafa..eb6da4fb6b60f02 100644 --- a/files/en-us/web/api/htmloptionelement/option/index.html +++ b/files/en-us/web/api/htmloptionelement/option/index.html @@ -2,14 +2,14 @@ title: Option() slug: Web/API/HTMLOptionElement/Option tags: -- API -- Constructor -- HTML DOM -- HTMLOptionElement -- NeedsBrowserCompatibility -- NeedsContent -- NeedsExample -- NeedsSpecTable + - API + - Constructor + - HTML DOM + - HTMLOptionElement + - NeedsBrowserCompatibility + - NeedsContent + - NeedsExample + - NeedsSpecTable ---
    {{APIRef("HTML DOM")}}
    @@ -67,8 +67,8 @@

    Just add new options

    Append options with different parameters

    -
    /* assuming we have the following HTML
    -<select id="s">
    +
    /* assuming we have the following HTML
    +<select id="s">
         <option>First</option>
         <option>Second</option>
         <option>Third</option>
    @@ -76,27 +76,27 @@ 

    Append options with different */ var s = document.getElementById('s'); -var options = [ 'zero', 'one', 'two' ]; +var options = [ 'zero', 'one', 'two' ]; -options.forEach(function(element, key) { +options.forEach(function(element, key) { if (element == 'zero') { s[s.options.length] = new Option(element, s.options.length, false, false); } if (element == 'one') { - s[s.options.length] = new Option(element, s.options.length, true, false); // Will add the "selected" attribute + s[s.options.length] = new Option(element, s.options.length, true, false); // Will add the "selected" attribute } if (element == 'two') { - s[s.options.length] = new Option(element, s.options.length, false, true); // Just will be selected in "view" + s[s.options.length] = new Option(element, s.options.length, false, true); // Just will be selected in "view" } -}); +}); /* Result -<select id="s"> - <option value="0">zero</option> - <option value="1" selected="">one</option> - <option value="2">two</option> // User will see this as 'selected' +<select id="s"> + <option value="0">zero</option> + <option value="1" selected="">one</option> + <option value="2">two</option> // User will see this as 'selected' </select> -*/

    +*/

    Specifications

    diff --git a/files/en-us/web/api/htmloptionscollection/index.html b/files/en-us/web/api/htmloptionscollection/index.html index 2d2e744a3e549c9..4a09cd5d82ba22e 100644 --- a/files/en-us/web/api/htmloptionscollection/index.html +++ b/files/en-us/web/api/htmloptionscollection/index.html @@ -13,7 +13,7 @@
    {{ APIRef("HTML DOM") }}
    -
    The HTMLOptionsCollection interface represents a collection of <option> HTML elements (in document order) and offers methods and properties for selecting from the list as well as optionally altering its items. This object is returned only by the options property of select.
    +
    The HTMLOptionsCollection interface represents a collection of <option> HTML elements (in document order) and offers methods and properties for selecting from the list as well as optionally altering its items. This object is returned only by the options property of select.

    {{InheritanceDiagram}}

    @@ -32,7 +32,7 @@

    Properties

    length unsigned long - As optionally allowed by the spec, this property isn't read-only. You can either remove options from the end by lowering the value, or add blank options at the end by raising the value. Mozilla allows this, while other implementations could potentially throw a DOMException. + As optionally allowed by the spec, this property isn't read-only. You can either remove options from the end by lowering the value, or add blank options at the end by raising the value. Mozilla allows this, while other implementations could potentially throw a DOMException. @@ -67,5 +67,5 @@

    Browser compatibility

    See also

    diff --git a/files/en-us/web/api/htmlorforeignelement/blur/index.html b/files/en-us/web/api/htmlorforeignelement/blur/index.html index a1512ac3058700a..23a23bd430fbb98 100644 --- a/files/en-us/web/api/htmlorforeignelement/blur/index.html +++ b/files/en-us/web/api/htmlorforeignelement/blur/index.html @@ -2,11 +2,11 @@ title: HTMLElement.blur() slug: Web/API/HTMLOrForeignElement/blur tags: -- API -- HTML DOM -- HTMLElement -- Method -- Reference + - API + - HTML DOM + - HTMLElement + - Method + - Reference ---
    {{APIRef("HTML DOM")}}
    @@ -83,5 +83,5 @@

    Browser compatibility

    See also

      -
    • DOM method {{domxref("HTMLElement.focus()")}}
    • +
    • DOM method {{domxref("HTMLOrForeignElement.focus")}}
    diff --git a/files/en-us/web/api/htmlorforeignelement/focus/index.html b/files/en-us/web/api/htmlorforeignelement/focus/index.html index a1073c4f509c509..ccfa85f4e62b72d 100644 --- a/files/en-us/web/api/htmlorforeignelement/focus/index.html +++ b/files/en-us/web/api/htmlorforeignelement/focus/index.html @@ -2,15 +2,15 @@ title: HTMLElement.focus() slug: Web/API/HTMLOrForeignElement/focus tags: -- API -- Focus -- HTML DOM -- HTMLElement -- Method -- Reference -- Scroll -- View -- activate + - API + - Focus + - HTML DOM + - HTMLElement + - Method + - Reference + - Scroll + - View + - activate ---
    {{ APIRef("HTML DOM") }}
    @@ -172,7 +172,7 @@

    Browser compatibility

    See also

      -
    • DOM method {{domxref("HTMLElement.blur()")}} to remove the focus from an element. +
    • DOM method {{domxref("HTMLOrForeignElement.blur")}} to remove the focus from an element.
    • {{ domxref("document.activeElement") }} to know which is the currently focused element.
    • diff --git a/files/en-us/web/api/htmlorforeignelement/tabindex/index.html b/files/en-us/web/api/htmlorforeignelement/tabindex/index.html index 182ce6cda5067b2..1e9b685a97e6936 100644 --- a/files/en-us/web/api/htmlorforeignelement/tabindex/index.html +++ b/files/en-us/web/api/htmlorforeignelement/tabindex/index.html @@ -2,13 +2,13 @@ title: HTMLOrForeignElement.tabIndex slug: Web/API/HTMLOrForeignElement/tabIndex tags: -- API -- HTML DOM -- HTMLElement -- HTMLOrForeignElement -- Property -- Reference -- tabIndex + - API + - HTML DOM + - HTMLElement + - HTMLOrForeignElement + - Property + - Reference + - tabIndex ---
      {{APIRef("HTML DOM")}}
      @@ -86,7 +86,7 @@

      See also