From 412acf6f9e7f797daf3d866d257e0bd9d135f4e7 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 25 Mar 2021 22:32:02 -0400 Subject: [PATCH] fix: flaws in web/html batch 3 --- files/en-us/web/html/element/col/index.html | 2 +- files/en-us/web/html/element/colgroup/index.html | 2 +- files/en-us/web/html/element/q/index.html | 6 +++--- files/en-us/web/html/element/rt/index.html | 2 +- files/en-us/web/html/element/rtc/index.html | 2 +- files/en-us/web/html/element/ruby/index.html | 6 +++--- files/en-us/web/html/element/s/index.html | 6 +++--- files/en-us/web/html/element/samp/index.html | 6 +++--- files/en-us/web/html/element/script/index.html | 16 ++++++++-------- files/en-us/web/html/element/select/index.html | 6 +++--- files/en-us/web/html/element/shadow/index.html | 8 ++++---- files/en-us/web/html/element/slot/index.html | 6 +++--- files/en-us/web/html/element/small/index.html | 6 +++--- files/en-us/web/html/element/source/index.html | 2 +- files/en-us/web/html/element/span/index.html | 8 ++++---- files/en-us/web/html/element/strong/index.html | 12 ++++++------ files/en-us/web/html/element/sub/index.html | 12 ++++++------ files/en-us/web/html/element/summary/index.html | 2 +- files/en-us/web/html/element/sup/index.html | 12 ++++++------ files/en-us/web/html/element/table/index.html | 10 +++++----- files/en-us/web/html/element/tbody/index.html | 4 ++-- files/en-us/web/html/element/td/index.html | 4 ++-- files/en-us/web/html/element/template/index.html | 14 +++++++------- files/en-us/web/html/element/textarea/index.html | 4 ++-- files/en-us/web/html/element/tfoot/index.html | 2 +- files/en-us/web/html/element/th/index.html | 2 +- files/en-us/web/html/element/time/index.html | 12 ++++++------ files/en-us/web/html/element/tr/index.html | 2 +- files/en-us/web/html/element/tt/index.html | 6 +++--- files/en-us/web/html/element/u/index.html | 12 ++++++------ files/en-us/web/html/element/ul/index.html | 2 +- files/en-us/web/html/element/var/index.html | 12 ++++++------ files/en-us/web/html/element/wbr/index.html | 4 ++-- .../html/global_attributes/accesskey/index.html | 2 +- .../web/html/global_attributes/class/index.html | 2 +- .../global_attributes/data-_star_/index.html | 6 +++--- .../global_attributes/enterkeyhint/index.html | 2 +- .../web/html/global_attributes/id/index.html | 2 +- .../html/global_attributes/tabindex/index.html | 8 ++++---- .../x-ms-acceleratorkey/index.html | 4 ++-- .../x-ms-format-detection/index.html | 4 ++-- files/en-us/web/html/link_types/index.html | 10 +++++----- .../web/html/link_types/noopener/index.html | 2 +- .../quirks_mode_and_standards_mode/index.html | 4 ++-- .../en-us/web/html/viewport_meta_tag/index.html | 2 +- 45 files changed, 130 insertions(+), 130 deletions(-) diff --git a/files/en-us/web/html/element/col/index.html b/files/en-us/web/html/element/col/index.html index 55a436c01477b3e..86a9e2e943d3eb0 100644 --- a/files/en-us/web/html/element/col/index.html +++ b/files/en-us/web/html/element/col/index.html @@ -93,7 +93,7 @@

Deprecated attributes

{{htmlattrdef("bgcolor")}} {{Deprecated_inline}}
-

The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used.

+

The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used.

To achieve a similar effect, use the CSS {{cssxref("background-color")}} property.

diff --git a/files/en-us/web/html/element/colgroup/index.html b/files/en-us/web/html/element/colgroup/index.html index 2ab8cb1a547b814..01d8f02c02e9f11 100644 --- a/files/en-us/web/html/element/colgroup/index.html +++ b/files/en-us/web/html/element/colgroup/index.html @@ -95,7 +95,7 @@

Deprecated attributes

{{htmlattrdef("bgcolor")}} {{Deprecated_inline}}
-

The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used.

+

The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used.

To achieve a similar effect, use the CSS {{cssxref("background-color")}} property.

diff --git a/files/en-us/web/html/element/q/index.html b/files/en-us/web/html/element/q/index.html index 093921710395a24..dbb7fafa7f1fde0 100644 --- a/files/en-us/web/html/element/q/index.html +++ b/files/en-us/web/html/element/q/index.html @@ -26,11 +26,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -38,7 +38,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/rt/index.html b/files/en-us/web/html/element/rt/index.html index a3b77af261e3f61..a8d3070abc356f1 100644 --- a/files/en-us/web/html/element/rt/index.html +++ b/files/en-us/web/html/element/rt/index.html @@ -28,7 +28,7 @@ Permitted content - Phrasing content. + Phrasing content. Tag omission diff --git a/files/en-us/web/html/element/rtc/index.html b/files/en-us/web/html/element/rtc/index.html index 19f6e568164dfb2..ddaf23dad5f28cf 100644 --- a/files/en-us/web/html/element/rtc/index.html +++ b/files/en-us/web/html/element/rtc/index.html @@ -27,7 +27,7 @@ Permitted content - Phrasing content or {{HTMLElement("rt")}} elements. + Phrasing content or {{HTMLElement("rt")}} elements. Tag omission diff --git a/files/en-us/web/html/element/ruby/index.html b/files/en-us/web/html/element/ruby/index.html index c1dff721936c30c..2c0b26aa0075d75 100644 --- a/files/en-us/web/html/element/ruby/index.html +++ b/files/en-us/web/html/element/ruby/index.html @@ -20,11 +20,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -32,7 +32,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/s/index.html b/files/en-us/web/html/element/s/index.html index 02daefb0fbd7276..277369a12fb6dc1 100644 --- a/files/en-us/web/html/element/s/index.html +++ b/files/en-us/web/html/element/s/index.html @@ -21,11 +21,11 @@ Content categories - Phrasing content, flow content. + Phrasing content, flow content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -33,7 +33,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/samp/index.html b/files/en-us/web/html/element/samp/index.html index fc61728672eb028..db573fe8ce70dd8 100644 --- a/files/en-us/web/html/element/samp/index.html +++ b/files/en-us/web/html/element/samp/index.html @@ -23,11 +23,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -35,7 +35,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/script/index.html b/files/en-us/web/html/element/script/index.html index 88f895a1d6ff3f0..6aa8d6b132de362 100644 --- a/files/en-us/web/html/element/script/index.html +++ b/files/en-us/web/html/element/script/index.html @@ -5,10 +5,10 @@ - Element - HTML - HTML scripting - - 'HTML:Flow content' - - 'HTML:Metadata content' - - 'HTML:Phrasing content' - - 'HTML:Script-supporting element' + - HTML:Flow content + - HTML:Metadata content + - HTML:Phrasing content + - HTML:Script-supporting element - Reference - Script - Web @@ -22,7 +22,7 @@ Content categories - Metadata content, Flow content, Phrasing content. + Metadata content, Flow content, Phrasing content. Permitted content @@ -34,7 +34,7 @@ Permitted parents - Any element that accepts metadata content, or any element that accepts phrasing content. + Any element that accepts metadata content, or any element that accepts phrasing content. Implicit ARIA role @@ -102,7 +102,7 @@

Attributes

  • same-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information.
  • strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don't send it to a less secure destination (e.g. HTTPS→HTTP).
  • strict-origin-when-cross-origin: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).
  • -
  • unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.
  • +
  • unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.
  • @@ -118,7 +118,7 @@

    Attributes

    This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:

    diff --git a/files/en-us/web/html/element/select/index.html b/files/en-us/web/html/element/select/index.html index 42ed8e15cf91b22..ab6bf26029edb26 100644 --- a/files/en-us/web/html/element/select/index.html +++ b/files/en-us/web/html/element/select/index.html @@ -25,7 +25,7 @@

    You can further nest <option> elements inside {{htmlelement("optgroup")}} elements to create separate groups of options inside the dropdown.

    -

    For further examples, see The native form widgets: Drop-down content.

    +

    For further examples, see The native form widgets: Drop-down content.

    Attributes

    @@ -506,7 +506,7 @@

    Technical summary

    Content categories - Flow content, phrasing content, interactive content, listed, labelable, resettable, and submittable form-associated element + Flow content, phrasing content, interactive content, listed, labelable, resettable, and submittable form-associated element Permitted content @@ -518,7 +518,7 @@

    Technical summary

    Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/shadow/index.html b/files/en-us/web/html/element/shadow/index.html index 3f664159752aee8..7a28fee73137365 100644 --- a/files/en-us/web/html/element/shadow/index.html +++ b/files/en-us/web/html/element/shadow/index.html @@ -20,11 +20,11 @@ Content categories - Transparent content + Transparent content Permitted content - Flow content + Flow content Tag omission @@ -54,7 +54,7 @@

    Example

    Here is a simple example of using the <shadow> element. It is an HTML file with everything needed in it.

    -

    Note: This is an experimental technology. For this code to work, the browser you display it in must support Web Components. See Enabling Web Components in Firefox.

    +

    Note: This is an experimental technology. For this code to work, the browser you display it in must support Web Components. See Enabling Web Components in Firefox.

    <html>
    @@ -93,7 +93,7 @@ 

    Example

    If you display this in a web browser it should look like the following.

    -

    shadow example

    +

    shadow example

    Specifications

    diff --git a/files/en-us/web/html/element/slot/index.html b/files/en-us/web/html/element/slot/index.html index 7684d72c07efc79..9e384fc69250baf 100644 --- a/files/en-us/web/html/element/slot/index.html +++ b/files/en-us/web/html/element/slot/index.html @@ -18,11 +18,11 @@ Content categories - Flow content, phrasing content + Flow content, phrasing content Permitted content - Transparent + Transparent Events @@ -34,7 +34,7 @@ Permitted parents - Any element that accepts phrasing content + Any element that accepts phrasing content Implicit ARIA role diff --git a/files/en-us/web/html/element/small/index.html b/files/en-us/web/html/element/small/index.html index 20488a41fdcc3a1..84799b25c8399aa 100644 --- a/files/en-us/web/html/element/small/index.html +++ b/files/en-us/web/html/element/small/index.html @@ -21,11 +21,11 @@ Content categories - Flow content, phrasing content + Flow content, phrasing content Permitted content - Phrasing content + Phrasing content Tag omission @@ -33,7 +33,7 @@ Permitted parents - Any element that accepts phrasing content, or any element that accepts flow content. + Any element that accepts phrasing content, or any element that accepts flow content. Implicit ARIA role diff --git a/files/en-us/web/html/element/source/index.html b/files/en-us/web/html/element/source/index.html index 8bb279e96ee0886..af6ed3186fb2476 100644 --- a/files/en-us/web/html/element/source/index.html +++ b/files/en-us/web/html/element/source/index.html @@ -35,7 +35,7 @@ Permitted parents -
    A media element—{{HTMLElement("audio")}} or {{HTMLelement("video")}}—and it must be placed before any flow content or {{HTMLElement("track")}} element.
    +
    A media element—{{HTMLElement("audio")}} or {{HTMLelement("video")}}—and it must be placed before any flow content or {{HTMLElement("track")}} element.
    A {{HTMLElement("picture")}} element, and it must be placed before the {{HTMLElement("img")}} element.
    diff --git a/files/en-us/web/html/element/span/index.html b/files/en-us/web/html/element/span/index.html index 2ee240ef97d72c6..880eb75ff97d923 100644 --- a/files/en-us/web/html/element/span/index.html +++ b/files/en-us/web/html/element/span/index.html @@ -5,7 +5,7 @@ - Element - HTML - HTML text-level semantics - - 'HTML:Flow content' + - HTML:Flow content - Reference - Web --- @@ -21,11 +21,11 @@ Content categories - Flow content, phrasing content. + Flow content, phrasing content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -33,7 +33,7 @@ Permitted parents - Any element that accepts phrasing content, or any element that accepts flow content. + Any element that accepts phrasing content, or any element that accepts flow content. Implicit ARIA role diff --git a/files/en-us/web/html/element/strong/index.html b/files/en-us/web/html/element/strong/index.html index 846683e0bfbd917..97f52bc3690af08 100644 --- a/files/en-us/web/html/element/strong/index.html +++ b/files/en-us/web/html/element/strong/index.html @@ -5,9 +5,9 @@ - Element - HTML - HTML text-level semantics - - 'HTML:Flow content' - - 'HTML:Palpable Content' - - 'HTML:Phrasing content' + - HTML:Flow content + - HTML:Palpable Content + - HTML:Phrasing content - Reference - Strong Importance - Urgency @@ -24,11 +24,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -36,7 +36,7 @@ Permitted parents - Any element that accepts phrasing content, or any element that accepts flow content. + Any element that accepts phrasing content, or any element that accepts flow content. Implicit ARIA role diff --git a/files/en-us/web/html/element/sub/index.html b/files/en-us/web/html/element/sub/index.html index e0ed1a016051ec9..3a4560053cbd978 100644 --- a/files/en-us/web/html/element/sub/index.html +++ b/files/en-us/web/html/element/sub/index.html @@ -7,9 +7,9 @@ - Footnotes - HTML - HTML text-level semantics - - 'HTML:Flow content' - - 'HTML:Palpable Content' - - 'HTML:Phrasing content' + - HTML:Flow content + - HTML:Palpable Content + - HTML:Phrasing content - Reference - Subscript - Web @@ -25,11 +25,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -37,7 +37,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/summary/index.html b/files/en-us/web/html/element/summary/index.html index 98128e27f7db857..6c6cfea20c0de28 100644 --- a/files/en-us/web/html/element/summary/index.html +++ b/files/en-us/web/html/element/summary/index.html @@ -24,7 +24,7 @@ Permitted content - Phrasing content or one element of Heading content + Phrasing content or one element of Heading content Tag omission diff --git a/files/en-us/web/html/element/sup/index.html b/files/en-us/web/html/element/sup/index.html index c469fa769c23d2e..a35db6ae6b855e3 100644 --- a/files/en-us/web/html/element/sup/index.html +++ b/files/en-us/web/html/element/sup/index.html @@ -5,9 +5,9 @@ - Element - HTML - HTML text-level semantics - - 'HTML:Flow content' - - 'HTML:Palpable Content' - - 'HTML:Phrasing content' + - HTML:Flow content + - HTML:Palpable Content + - HTML:Phrasing content - Reference - Web --- @@ -21,11 +21,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -33,7 +33,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/table/index.html b/files/en-us/web/html/element/table/index.html index 642a4fc0c6cfff6..2565d6d4e41998a 100644 --- a/files/en-us/web/html/element/table/index.html +++ b/files/en-us/web/html/element/table/index.html @@ -23,7 +23,7 @@ Content categories - Flow content + Flow content Permitted content @@ -90,7 +90,7 @@

    Deprecated attributes

    {{htmlattrdef("bgcolor")}} {{Deprecated_inline}}
    -

    The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used.

    +

    The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used.

    To achieve a similar effect, use the CSS {{cssxref("background-color")}} property.

    @@ -613,7 +613,7 @@

    Captions

    This helps people navigating with the aid of assistive technology such as a screen reader, people experiencing low vision conditions, and people with cognitive concerns.

    @@ -651,7 +651,7 @@

    Example

    Providing a declaration of scope="col" on a {{HTMLElement("th")}} element will help describe that the cell is at the top of a column. Providing a declaration of scope="row" on a {{HTMLElement("th")}} element will help describe that the cell is the first in a row.

      -
    • MDN Tables for visually impaired users
    • +
    • MDN Tables for visually impaired users
    • Tables with two headers • Tables • W3C WAI Web Accessibility Tutorials
    • Tables with irregular headers • Tables • W3C WAI Web Accessibility Tutorials
    • H63: Using the scope attribute to associate header cells and data cells in data tables | W3C Techniques for WCAG 2.0
    • @@ -666,7 +666,7 @@

      Complicated tables

      If the table cannot be broken apart, use a combination of the {{htmlattrxref("id")}} and {{htmlattrxref("headers", "td")}} attributes to programmatically associate each table cell with the header(s) the cell is associated with.

      diff --git a/files/en-us/web/html/element/tbody/index.html b/files/en-us/web/html/element/tbody/index.html index 843ff0559bb3a24..07428b1131151da 100644 --- a/files/en-us/web/html/element/tbody/index.html +++ b/files/en-us/web/html/element/tbody/index.html @@ -76,11 +76,11 @@

      Deprecated attributes

      As this attribute is deprecated, use the CSS {{cssxref("text-align")}} property instead.

      -
      Note: The equivalent text-align property for the align="char" is not implemented in any browsers yet. See the text-align's browser compatibility section for the <string> value.
      +
      Note: The equivalent text-align property for the align="char" is not implemented in any browsers yet. See the text-align's browser compatibility section for the <string> value.
      {{htmlattrdef("bgcolor")}} {{Deprecated_inline}}
      -

      The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used.

      +

      The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used.

      As this attribute is deprecated, use the CSS {{cssxref("background-color")}} property instead.

      diff --git a/files/en-us/web/html/element/td/index.html b/files/en-us/web/html/element/td/index.html index 0ae05fea1bc6e90..300afc372ede07c 100644 --- a/files/en-us/web/html/element/td/index.html +++ b/files/en-us/web/html/element/td/index.html @@ -32,7 +32,7 @@ Permitted content - Flow content. + Flow content. Tag omission @@ -104,7 +104,7 @@

      Deprecated attributes

      This attribute contains a list of space-separated strings. Each string is the id of a group of cells that this header applies to.
      {{htmlattrdef("bgcolor")}} {{deprecated_inline}}
      -

      This attribute defines the background color of each cell in a column. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used.

      +

      This attribute defines the background color of each cell in a column. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used.

      To achieve a similar effect, use the CSS {{cssxref("background-color")}} property.

      diff --git a/files/en-us/web/html/element/template/index.html b/files/en-us/web/html/element/template/index.html index ca54c60047aa7c3..34a1119ac83da3a 100644 --- a/files/en-us/web/html/element/template/index.html +++ b/files/en-us/web/html/element/template/index.html @@ -5,10 +5,10 @@ - Element - HTML - HTML Web Components - - 'HTML:Flow content' - - 'HTML:Metadata content' - - 'HTML:Phrasing content' - - 'HTML:Script-supporting element' + - HTML:Flow content + - HTML:Metadata content + - HTML:Phrasing content + - HTML:Script-supporting element - Reference - Template - Web @@ -24,7 +24,7 @@ Content categories - Metadata content, flow content, phrasing content, script-supporting element + Metadata content, flow content, phrasing content, script-supporting element Permitted content @@ -36,7 +36,7 @@ Permitted parents - Any element that accepts metadata content, phrasing content, or script-supporting elements. Also allowed as a child of a {{HTMLElement("colgroup")}} element that does not have a {{htmlattrxref("span", "colgroup")}} attribute. + Any element that accepts metadata content, phrasing content, or script-supporting elements. Also allowed as a child of a {{HTMLElement("colgroup")}} element that does not have a {{htmlattrxref("span", "colgroup")}} attribute. Implicit ARIA role @@ -57,7 +57,7 @@

      Attributes

      This element only includes the global attributes.

      -

      However, the {{domxref("HTMLTemplateElement")}} has a {{domxref("HTMLTemplateElement.content", "content")}} property, which is a read-only {{domxref("DocumentFragment")}} containing the DOM subtree which the template represents. Note that directly using the value of the {{domxref("HTMLTemplateElement.content", "content")}} could lead to unexpected behavior, see Avoiding DocumentFragment pitfall section below.

      +

      However, the {{domxref("HTMLTemplateElement")}} has a {{domxref("HTMLTemplateElement.content", "content")}} property, which is a read-only {{domxref("DocumentFragment")}} containing the DOM subtree which the template represents. Note that directly using the value of the {{domxref("HTMLTemplateElement.content", "content")}} could lead to unexpected behavior, see Avoiding DocumentFragment pitfall section below.

      Examples

      diff --git a/files/en-us/web/html/element/textarea/index.html b/files/en-us/web/html/element/textarea/index.html index c724e69e94521bb..3ae884cb2b61017 100644 --- a/files/en-us/web/html/element/textarea/index.html +++ b/files/en-us/web/html/element/textarea/index.html @@ -199,7 +199,7 @@

      Technical summary

      Content categories - Flow content, phrasing content, Interactive content, listed, labelable, resettable, and submittable form-associated element. + Flow content, phrasing content, Interactive content, listed, labelable, resettable, and submittable form-associated element. Permitted content @@ -211,7 +211,7 @@

      Technical summary

      Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/tfoot/index.html b/files/en-us/web/html/element/tfoot/index.html index c218e2897660ac7..f3d2f4b28ab8790 100644 --- a/files/en-us/web/html/element/tfoot/index.html +++ b/files/en-us/web/html/element/tfoot/index.html @@ -82,7 +82,7 @@

      Deprecated attributes

      {{htmlattrdef("bgcolor")}} {{Deprecated_inline}}
      -

      The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color kewords can also be used.

      +

      The background color of the table. It is a 6-digit hexadecimal RGB code, prefixed by a '#'. One of the predefined color keywords can also be used.

      To achieve a similar effect, use the CSS {{cssxref("background-color")}} property.

      diff --git a/files/en-us/web/html/element/th/index.html b/files/en-us/web/html/element/th/index.html index 1d7b0fadb1dca49..e48698f6e3400ca 100644 --- a/files/en-us/web/html/element/th/index.html +++ b/files/en-us/web/html/element/th/index.html @@ -32,7 +32,7 @@ Permitted content - Flow content, but with no header, footer, sectioning content, or heading content descendants. + Flow content, but with no header, footer, sectioning content, or heading content descendants. Tag omission diff --git a/files/en-us/web/html/element/time/index.html b/files/en-us/web/html/element/time/index.html index 6d36f06924938ab..0daa7b55a4d9179 100644 --- a/files/en-us/web/html/element/time/index.html +++ b/files/en-us/web/html/element/time/index.html @@ -6,9 +6,9 @@ - HTML - HTML text-level semantics - HTML5 - - 'HTML:Flow content' - - 'HTML:Palpable Content' - - 'HTML:Phrasing content' + - HTML:Flow content + - HTML:Palpable Content + - HTML:Phrasing content - Reference - Web --- @@ -30,11 +30,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -42,7 +42,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/tr/index.html b/files/en-us/web/html/element/tr/index.html index 215c49e2f9741ce..369344f2af11b78 100644 --- a/files/en-us/web/html/element/tr/index.html +++ b/files/en-us/web/html/element/tr/index.html @@ -56,7 +56,7 @@

      Deprecated attributes

      {{HTMLAttrDef("bgcolor")}}{{Obsolete_Inline("HTML5")}}
      -

      A {{DOMxRef("DOMString")}} specifying a color to apply to the backgrounds of each of the row's cells. This can be either an hexadecimal #RRGGBB or #RGB value or a color keyword. Omitting the attribute or setting it to null in JavaScript causes the row's cells to inherit the row's parent element's background color.

      +

      A {{DOMxRef("DOMString")}} specifying a color to apply to the backgrounds of each of the row's cells. This can be either an hexadecimal #RRGGBB or #RGB value or a color keyword. Omitting the attribute or setting it to null in JavaScript causes the row's cells to inherit the row's parent element's background color.

      The {{HTMLElement("tr")}} element should be styled using CSS. To give a similar effect as the bgcolor attribute, use the CSS property {{CSSxRef("background-color")}}.

      diff --git a/files/en-us/web/html/element/tt/index.html b/files/en-us/web/html/element/tt/index.html index 9556d13bb31e338..dc69bae2d0ebc77 100644 --- a/files/en-us/web/html/element/tt/index.html +++ b/files/en-us/web/html/element/tt/index.html @@ -29,11 +29,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -41,7 +41,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Permitted ARIA roles diff --git a/files/en-us/web/html/element/u/index.html b/files/en-us/web/html/element/u/index.html index 1884cb19674bb43..d2a50bf5b21e998 100644 --- a/files/en-us/web/html/element/u/index.html +++ b/files/en-us/web/html/element/u/index.html @@ -6,9 +6,9 @@ - Element - HTML - HTML text-level semantics - - 'HTML:Flow content' - - 'HTML:Palpable Content' - - 'HTML:Phrasing content' + - HTML:Flow content + - HTML:Palpable Content + - HTML:Phrasing content - Reference - Unarticulated Annotation - Underline @@ -30,11 +30,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -42,7 +42,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/ul/index.html b/files/en-us/web/html/element/ul/index.html index c4923daba4473c6..07368738ef79bd7 100644 --- a/files/en-us/web/html/element/ul/index.html +++ b/files/en-us/web/html/element/ul/index.html @@ -19,7 +19,7 @@ Content categories - Flow content, and if the <ul> element's children include at least one {{HTMLElement("li")}} element, palpable content. + Flow content, and if the <ul> element's children include at least one {{HTMLElement("li")}} element, palpable content. Permitted content diff --git a/files/en-us/web/html/element/var/index.html b/files/en-us/web/html/element/var/index.html index fc96de2549ecb51..c76b7d3d282702d 100644 --- a/files/en-us/web/html/element/var/index.html +++ b/files/en-us/web/html/element/var/index.html @@ -5,9 +5,9 @@ - Element - HTML - HTML text-level semantics - - 'HTML:Flow content' - - 'HTML:Palpable Content' - - 'HTML:Phrasing content' + - HTML:Flow content + - HTML:Palpable Content + - HTML:Phrasing content - Reference - Web - var @@ -23,11 +23,11 @@ Content categories - Flow content, phrasing content, palpable content. + Flow content, phrasing content, palpable content. Permitted content - Phrasing content. + Phrasing content. Tag omission @@ -35,7 +35,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/element/wbr/index.html b/files/en-us/web/html/element/wbr/index.html index b03db16ba1ce503..4431b8bf39e4d4e 100644 --- a/files/en-us/web/html/element/wbr/index.html +++ b/files/en-us/web/html/element/wbr/index.html @@ -20,7 +20,7 @@ Content categories - Flow content, phrasing content. + Flow content, phrasing content. Permitted content @@ -32,7 +32,7 @@ Permitted parents - Any element that accepts phrasing content. + Any element that accepts phrasing content. Implicit ARIA role diff --git a/files/en-us/web/html/global_attributes/accesskey/index.html b/files/en-us/web/html/global_attributes/accesskey/index.html index 50da92d9ccadb20..5e7b66d5801d816 100644 --- a/files/en-us/web/html/global_attributes/accesskey/index.html +++ b/files/en-us/web/html/global_attributes/accesskey/index.html @@ -113,7 +113,7 @@

      Browser compatibility

      See also

        -
      • {{domxref("Element.accessKey")}}
      • +
      • {{domxref("HTMLElement.accessKey")}}
      • {{domxref("HTMLElement.accessKeyLabel")}}
      • All global attributes.
      • aria-keyshortcuts
      • diff --git a/files/en-us/web/html/global_attributes/class/index.html b/files/en-us/web/html/global_attributes/class/index.html index 2b3873289934246..e9a6ba9f314fe09 100644 --- a/files/en-us/web/html/global_attributes/class/index.html +++ b/files/en-us/web/html/global_attributes/class/index.html @@ -39,5 +39,5 @@

        See also

      • All global attributes.
      • {{domxref('element.className')}}
      • {{domxref('element.classList')}}
      • -
      • Introduction to CSS
      • +
      • Introduction to CSS
      diff --git a/files/en-us/web/html/global_attributes/data-_star_/index.html b/files/en-us/web/html/global_attributes/data-_star_/index.html index fcc3d2669f8f233..31c7cfe6eb0c7cb 100644 --- a/files/en-us/web/html/global_attributes/data-_star_/index.html +++ b/files/en-us/web/html/global_attributes/data-_star_/index.html @@ -14,7 +14,7 @@ -

      All such custom data are available via the {{domxref("HTMLElement")}} interface of the element the attribute is set on. The {{domxref("HTMLElement.dataset")}} property gives access to them.
      +

      All such custom data are available via the {{domxref("HTMLElement")}} interface of the element the attribute is set on. The {{domxref("HTMLOrForeignElement.dataset")}} property gives access to them.
      The * may be replaced by any name following the production rule of XML names with the following restrictions:

        @@ -23,7 +23,7 @@
      • The name must not contain any capital letters.
      -

      Note that the {{domxref("HTMLElement.dataset")}} property is a {{domxref("DOMStringMap")}}, and the name of the custom data attribute data-test-value will be accessible via HTMLElement.dataset.testValue (or by HTMLElement.dataset["testValue"]) as any dash (U+002D) is replaced by the capitalization of the next letter, converting the name to camelcase.

      +

      Note that the {{domxref("HTMLOrForeignElement.dataset")}} property is a {{domxref("DOMStringMap")}}, and the name of the custom data attribute data-test-value will be accessible via HTMLElement.dataset.testValue (or by HTMLElement.dataset["testValue"]) as any dash (U+002D) is replaced by the capitalization of the next letter, converting the name to camelcase.

      Usage

      @@ -62,6 +62,6 @@

      See also

      • All global attributes.
      • -
      • The {{domxref("HTMLElement.dataset")}} property that allows to access and modify these values.
      • +
      • The {{domxref("HTMLOrForeignElement.dataset")}} property that allows to access and modify these values.
      • Using data attributes
      diff --git a/files/en-us/web/html/global_attributes/enterkeyhint/index.html b/files/en-us/web/html/global_attributes/enterkeyhint/index.html index ae0b94831665b84..a8652245ae636d1 100644 --- a/files/en-us/web/html/global_attributes/enterkeyhint/index.html +++ b/files/en-us/web/html/global_attributes/enterkeyhint/index.html @@ -107,7 +107,7 @@

      Browser compatibility

      See also

        -
      • HTMLElement.enterkeyhint property reflecting this attribute
      • +
      • HTMLElement.enterkeyhint property reflecting this attribute
      • inputmode global attribute
      • contenteditable global attribute
      • type and diff --git a/files/en-us/web/html/global_attributes/id/index.html b/files/en-us/web/html/global_attributes/id/index.html index 3bc7de93be89514..a95e240aa456748 100644 --- a/files/en-us/web/html/global_attributes/id/index.html +++ b/files/en-us/web/html/global_attributes/id/index.html @@ -10,7 +10,7 @@ ---
        {{HTMLSidebar("Global_attributes")}}
        -

        The id {{glossary("global attribute")}} defines an identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with {{glossary("CSS")}}).

        +

        The id {{glossary("global attribute")}} defines an identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with {{glossary("CSS")}}).

        {{EmbedInteractiveExample("pages/tabbed/attribute-id.html","tabbed-shorter")}}
        diff --git a/files/en-us/web/html/global_attributes/tabindex/index.html b/files/en-us/web/html/global_attributes/tabindex/index.html index e8d7656f19eecd3..b5ac1b0cbfd078d 100644 --- a/files/en-us/web/html/global_attributes/tabindex/index.html +++ b/files/en-us/web/html/global_attributes/tabindex/index.html @@ -20,7 +20,7 @@
      • A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation, but could be focused with JavaScript or visually by clicking with the mouse. It's mostly useful to create accessible widgets with JavaScript.
        -

        A negative value is useful when you have off-screen content that appears on a specific event. The user won't be able to focus any element with a negative tabindex using the keyboard, but a script can do so by calling the focus() method.

        +

        A negative value is useful when you have off-screen content that appears on a specific event. The user won't be able to focus any element with a negative tabindex using the keyboard, but a script can do so by calling the focus() method.

      • tabindex="0" means that the element should be focusable in sequential keyboard navigation, after any positive tabindex values and its order is defined by the document's source order.
      • @@ -35,9 +35,9 @@

        Accessibility concerns

        -

        Avoid using the tabindex attribute in conjunction with non-interactive content to make something intended to be interactive focusable by keyboard input. An example of this would be using a {{HTMLElement("div")}} element to describe a button, instead of the {{HTMLElement("button")}} element.

        +

        Avoid using the tabindex attribute in conjunction with non-interactive content to make something intended to be interactive focusable by keyboard input. An example of this would be using a {{HTMLElement("div")}} element to describe a button, instead of the {{HTMLElement("button")}} element.

        -

        Interactive components authored using non-interactive elements are not listed in the accessibility tree. This prevents assistive technology from being able to navigate to and manipulate those components. The content should be semantically described using interactive elements ({{HTMLElement("a")}}, {{HTMLElement("button")}}, {{HTMLElement("details")}}, {{HTMLElement("input")}}, {{HTMLElement("select")}}, {{HTMLElement("textarea")}}, etc.) instead. These elements have built-in roles and states that communicate status to the accessibility that would otherwise have to be managed by ARIA.

        +

        Interactive components authored using non-interactive elements are not listed in the accessibility tree. This prevents assistive technology from being able to navigate to and manipulate those components. The content should be semantically described using interactive elements ({{HTMLElement("a")}}, {{HTMLElement("button")}}, {{HTMLElement("details")}}, {{HTMLElement("input")}}, {{HTMLElement("select")}}, {{HTMLElement("textarea")}}, etc.) instead. These elements have built-in roles and states that communicate status to the accessibility that would otherwise have to be managed by ARIA.

        • Using the tabindex attribute | The Paciello Group
        • @@ -68,6 +68,6 @@

          See also

          • All global attributes
          • -
          • {{domxref("HTMLElement.tabIndex")}} that reflects this attribute
          • +
          • {{domxref("HTMLOrForeignElement.tabIndex")}} that reflects this attribute
          • Accessibility problems with tabindex: see Don’t Use Tabindex Greater than 0 by Adrian Roselli
          diff --git a/files/en-us/web/html/global_attributes/x-ms-acceleratorkey/index.html b/files/en-us/web/html/global_attributes/x-ms-acceleratorkey/index.html index ab74ed0d3b50d5a..36a2943d9a7eb8c 100644 --- a/files/en-us/web/html/global_attributes/x-ms-acceleratorkey/index.html +++ b/files/en-us/web/html/global_attributes/x-ms-acceleratorkey/index.html @@ -4,7 +4,7 @@ tags: - Attribute - HTML - - 'HTML:Microsoft Extensions' + - HTML:Microsoft Extensions - Non-standard - Reference - x-ms-acceleratorkey @@ -38,5 +38,5 @@

          See also

          diff --git a/files/en-us/web/html/global_attributes/x-ms-format-detection/index.html b/files/en-us/web/html/global_attributes/x-ms-format-detection/index.html index 7ffc91147f40a44..939687ceeff6744 100644 --- a/files/en-us/web/html/global_attributes/x-ms-format-detection/index.html +++ b/files/en-us/web/html/global_attributes/x-ms-format-detection/index.html @@ -4,7 +4,7 @@ tags: - Attribute - HTML - - 'HTML:Microsoft Extensions' + - HTML:Microsoft Extensions - Non-standard - Reference - x-ms-format-detection @@ -40,6 +40,6 @@

          Value

          See also

          diff --git a/files/en-us/web/html/link_types/index.html b/files/en-us/web/html/link_types/index.html index 79b64895637b7b5..8d8b95cd606756a 100644 --- a/files/en-us/web/html/link_types/index.html +++ b/files/en-us/web/html/link_types/index.html @@ -27,7 +27,7 @@ alternate
            -
          • If the element is {{HTMLElement("link")}} and the {{HTMLAttrxRef("rel", "link")}} attribute also contains the stylesheet type, the link defines an alternative style sheet; in that case the {{HTMLAttrxRef("title", "link")}} attribute must be present and not be the empty string.
          • +
          • If the element is {{HTMLElement("link")}} and the {{HTMLAttrxRef("rel", "link")}} attribute also contains the stylesheet type, the link defines an alternative style sheet; in that case the {{HTMLAttrxRef("title", "link")}} attribute must be present and not be the empty string.
          • If the {{HTMLAttrxRef("type","link")}} is set to application/rss+xml or application/atom+xml, the link defines a syndication feed. The first one defined on the page is the default.
          • Otherwise, the link defines an alternative page, of one of these types:
              @@ -62,7 +62,7 @@ bookmark - Indicates that the hyperlink is a permalink for the nearest ancestor {{HTMLElement("article")}} element. If none, it is a permalink for the section that the element is most closely associated to.
              + Indicates that the hyperlink is a permalink for the nearest ancestor {{HTMLElement("article")}} element. If none, it is a permalink for the section that the element is most closely associated to.

              This allows for bookmarking a single article in a page containing multiple articles, such as on a monthly summary blog page, or a blog aggregator. {{HTMLElement("a")}}, {{HTMLElement("area")}} @@ -225,7 +225,7 @@ prefetch Suggests that the browser fetch the linked resource in advance, as it is likely to be requested by the user. Starting with Firefox 44, the value of the {{HTMLAttrxRef("crossorigin", "link")}} attribute is taken into consideration, making it possible to make anonymous prefetches.

              - Note: The Link Prefetch FAQ has details on which links can be prefetched and on alternative methods. + Note: The Link Prefetch FAQ has details on which links can be prefetched and on alternative methods. {{HTMLElement("link")}} {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("form")}} @@ -255,7 +255,7 @@ search Indicates that the hyperlink references a document whose interface is specially designed for searching in this document, or site, and its resources.

              - If the {{HTMLAttrxRef("type","link")}} attribute is set to application/opensearchdescription+xml the resource is an OpenSearch plugin that can be easily added to the interface of some browsers like Firefox or Internet Explorer. + If the {{HTMLAttrxRef("type","link")}} attribute is set to application/opensearchdescription+xml the resource is an OpenSearch plugin that can be easily added to the interface of some browsers like Firefox or Internet Explorer. {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("link")}}, {{HTMLElement("form")}} None. @@ -279,7 +279,7 @@ stylesheet Defines an external resource to be used as a stylesheet. If the type is not set, the browser should assume it is a text/css stylesheet until further inspection.

              - If used in combination with the alternate keyword, it defines an alternative style sheet; in that case the {{HTMLAttrxRef("title", "link")}} attribute must be present and not be the empty string. + If used in combination with the alternate keyword, it defines an alternative style sheet; in that case the {{HTMLAttrxRef("title", "link")}} attribute must be present and not be the empty string. {{HTMLElement("link")}} {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("form")}} diff --git a/files/en-us/web/html/link_types/noopener/index.html b/files/en-us/web/html/link_types/noopener/index.html index dc051c038451f13..4e7e9b9d344d320 100644 --- a/files/en-us/web/html/link_types/noopener/index.html +++ b/files/en-us/web/html/link_types/noopener/index.html @@ -15,7 +15,7 @@

              Note

              -

              Setting target="_blank" on <a> elements now implicitly provides the same rel behavior as setting rel="noopener" which does not set window.opener. See browser compatibility for support status.

              +

              Setting target="_blank" on <a> elements now implicitly provides the same rel behavior as setting rel="noopener" which does not set window.opener. See browser compatibility for support status.

              Specifications

              diff --git a/files/en-us/web/html/quirks_mode_and_standards_mode/index.html b/files/en-us/web/html/quirks_mode_and_standards_mode/index.html index b768350580b0938..21e62589b7fca3c 100644 --- a/files/en-us/web/html/quirks_mode_and_standards_mode/index.html +++ b/files/en-us/web/html/quirks_mode_and_standards_mode/index.html @@ -18,7 +18,7 @@

              How do browsers determine which mode to use?

              -

              For HTML documents, browsers use a DOCTYPE in the beginning of the document to decide whether to handle it in quirks mode or standards mode. To ensure that your page uses full standards mode, make sure that your page has a DOCTYPE like in this example:

              +

              For HTML documents, browsers use a DOCTYPE in the beginning of the document to decide whether to handle it in quirks mode or standards mode. To ensure that your page uses full standards mode, make sure that your page has a DOCTYPE like in this example:

              <!DOCTYPE html>
               <html lang="en">
              @@ -40,7 +40,7 @@ 

              How do browsers determi

              XHTML

              -

              If you serve your page as XHTML using the application/xhtml+xml MIME type in the Content-Type HTTP header, you do not need a DOCTYPE to enable standards mode, as such documents always use full standards mode. Note however that serving your pages as application/xhtml+xml will cause Internet Explorer 8 to show a download dialog box for an unknown format instead of displaying your page, as the first version of Internet Explorer with support for XHTML is Internet Explorer 9.

              +

              If you serve your page as XHTML using the application/xhtml+xml MIME type in the Content-Type HTTP header, you do not need a DOCTYPE to enable standards mode, as such documents always use full standards mode. Note however that serving your pages as application/xhtml+xml will cause Internet Explorer 8 to show a download dialog box for an unknown format instead of displaying your page, as the first version of Internet Explorer with support for XHTML is Internet Explorer 9.

              If you serve XHTML-like content using the text/html MIME type, browsers will read it as HTML, and you will need the DOCTYPE to use standards mode.

              diff --git a/files/en-us/web/html/viewport_meta_tag/index.html b/files/en-us/web/html/viewport_meta_tag/index.html index 53907ed20633245..a4b7f2ee050c565 100644 --- a/files/en-us/web/html/viewport_meta_tag/index.html +++ b/files/en-us/web/html/viewport_meta_tag/index.html @@ -59,7 +59,7 @@

              Viewport width and screen width

              <meta name="viewport" content="width=500, initial-scale=1">
              -

              Other attributes that are available are minimum-scale, maximum-scale, and user-scalable. These properties affect the initial scale and width, as well as limiting changes in zoom level.

              +

              Other attributes that are available are minimum-scale, maximum-scale, and user-scalable. These properties affect the initial scale and width, as well as limiting changes in zoom level.

              Not all mobile browsers handle orientation changes in the same way. For example, Mobile Safari often just zooms the page when changing from portrait to landscape, instead of laying out the page as it would if originally loaded in landscape. If web developers want their scale settings to remain consistent when switching orientations on the iPhone, they must add a maximum-scale value to prevent this zooming, which has the sometimes-unwanted side effect of preventing users from zooming in: