User`s guide

mlreportgen.dom.HTML class
12-161
text-decoration
text-indent
vertical-align
white-space
width
For information about these formats, see the W3Schools CSS documentation at
www.w3schools.com/cssref.
Input Arguments
htmlText — HTML text
string
HTML text, specified as a string
Example: html = HTML('<p><b>Hello</b> <i style="color:green">World</
i></p>');
Properties
Id — ID for HTML object
string
A session-unique ID is generated as part of HTML object creation. You can specify an ID to
replace the generated ID.
HTMLTag — Tag name of HTML container element
'div' (default) | string
Tag name of HTML container element, specified as a string, such as 'div', 'section',
or 'article' corresponding to this HTML object. This property applies only to HTML
output.
Children — Children of this HTML object
cell array of mlreportgen.dom.Element objects
This read-only property lists child elements that the HTML object contains.