<p/> 요소를 생성합니다.
<p/> 요소는 주로 문단 단위 글에 사용됩니다.
매개변수 html은 선택적(optional)입니다. 새로 생성될 <p/>의 내부 HTML을 설정하는 문자열입니다.
예제
구문
createP([html])
매개변수
html
String: "
새로 생성될 <p></p> 요소의 내부 HTML
Returns
p5.Element: 새로 생성된 p5.Element 객체
This page is generated from the comments in src/dom/dom.js . Please feel free to edit it and submit a pull request!