@@ -371,16 +371,16 @@ function dom(p5, fn){
371371 }
372372
373373 /**
374- * Creates a `< div>< /div> ` element.
374+ * Creates a `< div>< /div> ` element.
375375 *
376- * `< div>< /div> ` elements are commonly used as containers for
376+ * `< div>< /div> ` elements are commonly used as containers for
377377 * other elements.
378378 *
379379 * The parameter `html` is optional. It accepts a string that sets the
380- * inner HTML of the new `< div>< /div> `.
380+ * inner HTML of the new `< div>< /div> `.
381381 *
382382 * @method createDiv
383- * @param {String } [html] inner HTML for the new `< div>< /div> ` element.
383+ * @param {String } [html] inner HTML for the new `< div>< /div> ` element.
384384 * @return {p5.Element } new <a href="#/p5.Element">p5.Element</a> object.
385385 *
386386 * @example
@@ -418,13 +418,13 @@ function dom(p5, fn){
418418 /**
419419 * Creates a paragraph element.
420420 *
421- * `<p></p> ` elements are commonly used for paragraph-length text.
421+ * `<p></p> ` elements are commonly used for paragraph-length text.
422422 *
423423 * The parameter `html` is optional. It accepts a string that sets the
424- * inner HTML of the new `<p></p> `.
424+ * inner HTML of the new `<p></p> `.
425425 *
426426 * @method createP
427- * @param {String } [html] inner HTML for the new `<p></p> ` element.
427+ * @param {String } [html] inner HTML for the new `<p></p> ` element.
428428 * @return {p5.Element } new <a href="#/p5.Element">p5.Element</a> object.
429429 *
430430 * @example
@@ -447,18 +447,18 @@ function dom(p5, fn){
447447 } ;
448448
449449 /**
450- * Creates a `< span>< /span> ` element.
450+ * Creates a `< span>< /span> ` element.
451451 *
452- * `< span>< /span> ` elements are commonly used as containers
453- * for inline elements. For example, a `< span>< /span> `
452+ * `< span>< /span> ` elements are commonly used as containers
453+ * for inline elements. For example, a `< span>< /span> `
454454 * can hold part of a sentence that's a
455455 * <span style="color: deeppink;">different</span> style.
456456 *
457457 * The parameter `html` is optional. It accepts a string that sets the
458- * inner HTML of the new `< span>< /span> `.
458+ * inner HTML of the new `< span>< /span> `.
459459 *
460460 * @method createSpan
461- * @param {String } [html] inner HTML for the new `< span>< /span> ` element.
461+ * @param {String } [html] inner HTML for the new `< span>< /span> ` element.
462462 * @return {p5.Element } new <a href="#/p5.Element">p5.Element</a> object.
463463 *
464464 * @example
@@ -511,7 +511,7 @@ function dom(p5, fn){
511511 } ;
512512
513513 /**
514- * Creates an `< img> ` element that can appear outside of the canvas.
514+ * Creates an `< img> ` element that can appear outside of the canvas.
515515 *
516516 * The first parameter, `src`, is a string with the path to the image file.
517517 * `src` should be a relative path, as in `'assets/image.png'`, or a URL, as
@@ -582,7 +582,7 @@ function dom(p5, fn){
582582 } ;
583583
584584 /**
585- * Creates an `<a></a> ` element that links to another web page.
585+ * Creates an `<a></a> ` element that links to another web page.
586586 *
587587 * The first parmeter, `href`, is a string that sets the URL of the linked
588588 * page.
@@ -639,7 +639,7 @@ function dom(p5, fn){
639639
640640 /* INPUT */
641641 /**
642- * Creates a slider `< input>< /input> ` element.
642+ * Creates a slider `< input>< /input> ` element.
643643 *
644644 * Range sliders are useful for quickly selecting numbers from a given range.
645645 *
@@ -761,7 +761,7 @@ function dom(p5, fn){
761761 } ;
762762
763763 /**
764- * Creates a `< button>< /button> ` element.
764+ * Creates a `< button>< /button> ` element.
765765 *
766766 * The first parameter, `label`, is a string that sets the label displayed on
767767 * the button.
@@ -838,7 +838,7 @@ function dom(p5, fn){
838838 } ;
839839
840840 /**
841- * Creates a checkbox `< input>< /input> ` element.
841+ * Creates a checkbox `< input>< /input> ` element.
842842 *
843843 * Checkboxes extend the <a href="#/p5.Element">p5.Element</a> class with a
844844 * `checked()` method. Calling `myBox.checked()` returns `true` if it the box
@@ -979,11 +979,11 @@ function dom(p5, fn){
979979 } ;
980980
981981 /**
982- * Creates a dropdown menu `< select>< /select> ` element.
982+ * Creates a dropdown menu `< select>< /select> ` element.
983983 *
984984 * The parameter is optional. If `true` is passed, as in
985985 * `let mySelect = createSelect(true)`, then the dropdown will support
986- * multiple selections. If an existing `< select>< /select> ` element
986+ * multiple selections. If an existing `< select>< /select> ` element
987987 * is passed, as in `let mySelect = createSelect(otherSelect)`, the existing
988988 * element will be wrapped in a new <a href="#/p5.Element">p5.Element</a>
989989 * object.
@@ -1250,8 +1250,8 @@ function dom(p5, fn){
12501250 *
12511251 * The parameter is optional. If a string is passed, as in
12521252 * `let myRadio = createSelect('food')`, then each radio option will
1253- * have `"food"` as its `name` parameter: `< input name="food">< /input> `.
1254- * If an existing `< div>< /div> ` or `< span>< /span> `
1253+ * have `"food"` as its `name` parameter: `< input name="food">< /input> `.
1254+ * If an existing `< div>< /div> ` or `< span>< /span> `
12551255 * element is passed, as in `let myRadio = createSelect(container)`, it will
12561256 * become the radio button's parent element.
12571257 *
@@ -1264,8 +1264,8 @@ function dom(p5, fn){
12641264 * - `myRadio.disable(shouldDisable)` enables the entire radio button if `true` is passed and disables it if `false` is passed.
12651265 *
12661266 * @method createRadio
1267- * @param {Object } [containerElement] container HTML Element, either a `< div>< /div> `
1268- * or `< span>< /span> `.
1267+ * @param {Object } [containerElement] container HTML Element, either a `< div>< /div> `
1268+ * or `< span>< /span> `.
12691269 * @return {p5.Element } new <a href="#/p5.Element">p5.Element</a> object.
12701270 *
12711271 * @example
@@ -1384,7 +1384,7 @@ function dom(p5, fn){
13841384 */
13851385 /**
13861386 * @method createRadio
1387- * @param {String } [name] name parameter assigned to each option's `< input>< /input> ` element.
1387+ * @param {String } [name] name parameter assigned to each option's `< input>< /input> ` element.
13881388 * @return {p5.Element } new <a href="#/p5.Element">p5.Element</a> object.
13891389 */
13901390 /**
@@ -1651,7 +1651,7 @@ function dom(p5, fn){
16511651 } ;
16521652
16531653 /**
1654- * Creates a text `< input>< /input> ` element.
1654+ * Creates a text `< input>< /input> ` element.
16551655 *
16561656 * Call `myInput.size()` to set the length of the text box.
16571657 *
@@ -1727,7 +1727,7 @@ function dom(p5, fn){
17271727 } ;
17281728
17291729 /**
1730- * Creates an `< input>< /input> ` element of type `'file'`.
1730+ * Creates an `< input>< /input> ` element of type `'file'`.
17311731 *
17321732 * `createFileInput()` allows users to select local files for use in a sketch.
17331733 * It returns a <a href="#/p5.File">p5.File</a> object.
0 commit comments