Class HtmlH
This widget represents a header. It supports the following attributes:
- text -
The header text. It is a string.
- size -
String representing the size of the header. It should only take
the following values: "1", "2", "3", "4", "5", "6".
- align -
The alignment of the text. It may take the following values:
"left", "center", "right".
- class -
The name of the CSS class associated with the component.
constructor
HtmlH constructor size str
Initializes the object.
- Parameters:
- size -
String used as the value of the
size attribute.
- text -
String used as the value of the
text attribute.
-
The
str will be used as the contents of the header.
Report a bug or request new features
© 2013