xhtml
This is a small set of routines that creates html files
Command line usage (if any):
usage: xhtml.py will run a basic test of the routines
Description:
Each routine returns a string. As one builds up an html page one normally, adds the string that is returnted to a pre-existing string. When finished one writes the accumulated string to a file
Primary routines:
Notes:
History:
110505 ksl Coding begun 161031 ksl Renamed to xhtml.py to avoid conflict with anaconda
Functions
|
Add a simple list |
|
Start an html page |
|
Finish and html page |
|
Add a header line |
|
Add a header line |
|
Add a header line |
|
Draw a horizontal line with thickness given by size and horizontal width given by width in percent |
|
Add a centered image to a page |
|
Make a link to the page |
|
Add a paragraph to the page |
|
Add a set of preformated lines, that is text. |
|
Format a table in html. |
|
Test the various html subroutines |