Skip to main content

Html5 generator

Project description


Generate HTML. Usage:
import genhtml
html=genhtml.HTML()
p=html.open('p')
p.attrs['style']='color:red;'
p.write('Hello!')
html.commit(p)
tags=html.get_tags()
tags[0].write('Using genhtml')
html.set_tags(tags)
html.open_in_browser()
print(genhtml.formated(html.output()))


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genhtml-2.0.0.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

genhtml-2.0.0-py3-none-any.whl (2.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page