HTML
These are the available type
for the Mock
object
randomHtml
Generate a random HTML string
, with a given maximum depth and width. By default, the depth and width are 4
.
Depth defines the maximum depth of the body.
Width defines the maximum of siblings each element can have.