From 80753a3c38987d91ed40ec14cbe0a5bf4e2923eb Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Sat, 19 Dec 2020 00:09:31 +0900 Subject: [PATCH 1/2] Add and to HTML elements reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change adds a new "SVG and MathML" subsection to the “HTML elements reference” page https://developer.mozilla.org/en-US/docs/web/html/element. Fixes https://github.com/mdn/content/issues/406 --- files/en-us/web/html/element/index.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/files/en-us/web/html/element/index.html b/files/en-us/web/html/element/index.html index e80435a4946741e..d4a16218b9765aa 100644 --- a/files/en-us/web/html/element/index.html +++ b/files/en-us/web/html/element/index.html @@ -61,6 +61,29 @@

Embedded content

{{HTMLRefTable({"include":["HTML embedded content"], "exclude":["multimedia"]})}}

+

SVG and MathML

+ +

You can embed SVG and MathML content directly into HTML documents, using the {{SVGElement("svg")}} and {{MathMLElement("math")}} elements.

+ + + + + + + + + + + + + + + + + + +
ElementDescription
{{SVGElement("svg")}}The svg element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document.
{{MathMLElement("math")}}The top-level element in MathML is <math>. Every valid MathML instance must be wrapped in <math> tags. In addition you must not nest a second <math> element in another, but you can have an arbitrary number of other child elements in it.
+

Scripting

In order to create dynamic content and Web applications, HTML supports the use of scripting languages, most prominently JavaScript. Certain elements support this capability.

From 94cd573a9446e30160d30e7604897e53e7423e6c Mon Sep 17 00:00:00 2001 From: Vivek Agrawal Date: Sat, 19 Dec 2020 03:57:01 +0530 Subject: [PATCH 2/2] fix: MathML link --- files/en-us/web/html/element/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/html/element/index.html b/files/en-us/web/html/element/index.html index d4a16218b9765aa..4c454848a68af9e 100644 --- a/files/en-us/web/html/element/index.html +++ b/files/en-us/web/html/element/index.html @@ -63,7 +63,7 @@

Embedded content

SVG and MathML

-

You can embed SVG and MathML content directly into HTML documents, using the {{SVGElement("svg")}} and {{MathMLElement("math")}} elements.

+

You can embed SVG and MathML content directly into HTML documents, using the {{SVGElement("svg")}} and {{MathMLElement("math")}} elements.