Contents:
Bases: list
HTML class: Manages a rooted tree of HTML objects
Add a DOCTYPE statement to the start of the list
| Parameters: |
|
|---|
Add an XML statement to the start of the list for this object
| Parameters: |
|
|---|
Returns HTML attributes for this object
| Return type: | string |
|---|---|
| Returns: | HTML attributes |
Build and return a DOCTYPE statement
| Parameters: |
|
|---|
Append a new value
Build and return a properly-formated <head> object
| Parameters: |
|
|---|---|
| Return type: | reference to new Html instance |
| Returns: | reference to the newly-created Html instances for <head> object |
Build and return a properly-formated <html> object
| Parameters: |
|
|---|---|
| Return type: | reference to new Html instance |
| Returns: | reference to the newly-created Html instances for <html> object |
Returns list of items between opening and closing tags
| Return type: | list |
|---|---|
| Returns: | list of items between opening and closing HTML tags |
Iterator function: returns a generator that performs an insertion-order tree traversal and yields each item found.
Iterator function: returns a generator that performs an insertion-order tree traversal and yields each item found.
Iterator function: returns a generator that performs an insertion-order tree traversal and yields each item found.
This function prepares a new Html class based page and returns
| Parameters: |
|
|---|---|
| Return type: | three object references |
| Returns: | references to the newly-created Html instances for page, head and body |
Overload function for - and -= operators :type value: object :param value: object to be removed
| Return type: | object reference |
|---|---|
| Returns: | reference to object with value removed |
Replace current value with new value
| Parameters: |
|
|---|---|
| Return type: | object reference |
| Returns: | reference to object with new value added |
Returns HTML tag for this object
| Return type: | string |
|---|---|
| Returns: | HTML tag |
Output function: performs an insertion-order tree traversal and calls supplied method for each item found.
| Parameters: |
|
|---|
Build and return an XML declaration statement
| Parameters: |
|
|---|