diff --git a/src/content/reference/en/p5/createP.mdx b/src/content/reference/en/p5/createP.mdx index c7998ad8f0..e65f48bd07 100644 --- a/src/content/reference/en/p5/createP.mdx +++ b/src/content/reference/en/p5/createP.mdx @@ -4,15 +4,13 @@ module: DOM submodule: DOM file: src/dom/dom.js description: > -

Creates a

element.

+

Creates a paragraph element.

-

elements are commonly used for paragraph-length - text.

+

Paragraph elements are commonly used for paragraph-length text.

The parameter html is optional. It accepts a string that sets - the + the inner HTML of the new.

- inner HTML of the new

.

line: 543 isConstructor: false itemtype: method diff --git a/src/content/reference/en/p5/createSpan.mdx b/src/content/reference/en/p5/createSpan.mdx index 6ccc331a99..3812c5f2e9 100644 --- a/src/content/reference/en/p5/createSpan.mdx +++ b/src/content/reference/en/p5/createSpan.mdx @@ -4,7 +4,7 @@ module: DOM submodule: DOM file: src/dom/dom.js description: > -

Creates a element.

+

Creates a span element.

elements are commonly used as containers