diff --git a/files/en-us/web/api/htmlimageelement/usemap/index.md b/files/en-us/web/api/htmlimageelement/usemap/index.md index ba4208349415fd4..06e654e57d819fa 100644 --- a/files/en-us/web/api/htmlimageelement/usemap/index.md +++ b/files/en-us/web/api/htmlimageelement/usemap/index.md @@ -53,7 +53,52 @@ For additional examples (including interactive ones), see the articles about the ## Examples -{{EmbedInteractiveExample("pages/tabbed/area.html", "tabbed-taller")}} +{{InteractiveExample("HTML Demo: ", "tabbed-taller")}} + +```html interactive-example + + HTTP + HTML + JavaScript + Web APIs + CSS + +MDN infographic +``` + +```css interactive-example +img { + display: block; + margin: 0 auto; + width: 260px; + height: 260px; +} +``` ## Specifications diff --git a/files/en-us/web/html/attributes/accept/index.md b/files/en-us/web/html/attributes/accept/index.md index 8c84e2997c73ae7..9173cbd7bd19ad7 100644 --- a/files/en-us/web/html/attributes/accept/index.md +++ b/files/en-us/web/html/attributes/accept/index.md @@ -10,7 +10,28 @@ browser-compat: html.elements.input.accept The **`accept`** attribute takes as its value a comma-separated list of one or more file types, or [unique file type specifiers](#unique_file_type_specifiers), describing which file types to allow. -{{EmbedInteractiveExample("pages/tabbed/attribute-accept.html", "tabbed-shorter")}} +{{InteractiveExample("HTML Demo: accept", "tabbed-shorter")}} + +```html interactive-example + + + + + + + +``` + +```css interactive-example +label { + display: block; + margin-top: 1rem; +} + +input { + margin-bottom: 1rem; +} +``` ## Overview diff --git a/files/en-us/web/html/attributes/autocomplete/index.md b/files/en-us/web/html/attributes/autocomplete/index.md index 29b5c81f5373c70..a0ee4758e44ad4a 100644 --- a/files/en-us/web/html/attributes/autocomplete/index.md +++ b/files/en-us/web/html/attributes/autocomplete/index.md @@ -16,7 +16,25 @@ The HTML `autocomplete` attribute lets web developers specify what if any permis It is available on {{HTMLElement("input")}} elements that take a text or numeric value as input, {{HTMLElement("textarea")}} elements, {{HTMLElement("select")}} elements, and {{HTMLElement("form")}} elements. -{{EmbedInteractiveExample("pages/tabbed/attribute-autocomplete.html", "tabbed-shorter")}} +{{InteractiveExample("HTML Demo: autocomplete", "tabbed-shorter")}} + +```html interactive-example + + + + + + + + +``` + +```css interactive-example +label { + display: block; + margin-top: 1rem; +} +``` ## Description diff --git a/files/en-us/web/html/attributes/capture/index.md b/files/en-us/web/html/attributes/capture/index.md index f6efbb6c7823bdf..f3104914cffd49c 100644 --- a/files/en-us/web/html/attributes/capture/index.md +++ b/files/en-us/web/html/attributes/capture/index.md @@ -22,7 +22,28 @@ The `capture` attribute takes as its value a string that specifies which camera > [!NOTE] > Capture was previously a Boolean attribute which, if present, requested that the device's media capture device(s) such as camera or microphone be used instead of requesting a file input. -{{EmbedInteractiveExample("pages/tabbed/attribute-capture.html", "tabbed-standard")}} +{{InteractiveExample("HTML Demo: capture", "tabbed-standard")}} + +```html interactive-example + + + + + + + +``` + +```css interactive-example +label { + display: block; + margin-top: 1rem; +} + +input { + margin-bottom: 1rem; +} +``` ## Examples diff --git a/files/en-us/web/html/attributes/disabled/index.md b/files/en-us/web/html/attributes/disabled/index.md index 6c09f532a0e898c..5dfe1a6b9be8eee 100644 --- a/files/en-us/web/html/attributes/disabled/index.md +++ b/files/en-us/web/html/attributes/disabled/index.md @@ -17,7 +17,39 @@ browser-compat: The Boolean **`disabled`** attribute, when present, makes the element not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants. -{{EmbedInteractiveExample("pages/tabbed/attribute-disabled.html", "tabbed-standard")}} +{{InteractiveExample("HTML Demo: disabled", "tabbed-standard")}} + +```html interactive-example +
+ + + + + + + + + + + +
+``` + +```css interactive-example +label { + display: block; + margin-top: 1em; +} + +*:disabled { + background-color: dimgrey; + color: linen; + opacity: 1; +} +``` ## Overview diff --git a/files/en-us/web/html/attributes/for/index.md b/files/en-us/web/html/attributes/for/index.md index 41b7b39a34044c3..62a9a02e60db1e9 100644 --- a/files/en-us/web/html/attributes/for/index.md +++ b/files/en-us/web/html/attributes/for/index.md @@ -12,7 +12,56 @@ browser-compat: The **`for`** attribute is an allowed attribute for {{htmlelement("label")}} and {{htmlelement("output")}}. When used on a `