<span></span>要素を作成します。
<span></span>要素は、インライン要素のコンテナとして 一般的に使用されます。例えば、<span></span>は 文章の一部を異なるスタイルで 保持できます。
パラメータhtmlはオプションです。新しい<span></span>の 内部HTMLを設定する文字列を受け入れます。
実例
シンタックス
createSpan([html])
パラメーター
html
String:
新しい<span></span>要素の内部HTML。
リターン
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!