"""Classes to generate HTML in Python The HTMLTags module defines a class for all the valid HTML tags, written in uppercase letters. To create a piece of HTML, the general syntax will be : t = TAG(innerHTML, key1=val1,key2=val2,...) so that "print t" results in : innerHTML For instance : print A('bar', href="foo") ==> bar To generate HTML attributes without value, give them the value True : print OPTION('foo',SELECTED=True,value=5) ==>