Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/content/reference/en/p5/createP.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ module: DOM
submodule: DOM
file: src/dom/dom.js
description: >
<p>Creates a <code><p></p></code> element.</p>
<p>Creates a paragraph element.</p>

<p><code><p></p></code> elements are commonly used for paragraph-length
text.</p>
<p>Paragraph elements are commonly used for paragraph-length text.</p>

<p>The parameter <code>html</code> is optional. It accepts a string that sets
the
the inner HTML of the new.</p>

inner HTML of the new <code><p></p></code>.</p>
line: 543
isConstructor: false
itemtype: method
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5/createSpan.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module: DOM
submodule: DOM
file: src/dom/dom.js
description: >
<p>Creates a <code><span></span></code> element.</p>
<p>Creates a <code><span></span></code> span element.</p>

<p><code><span></span></code> elements are commonly used as containers

Expand Down