Skip to main content

Html

Html control allows inserting a raw HTML to the page.

Examples​

import pglet
from pglet import Html

page = pglet.page()
page.add(Html("<b>This is bold text!</b>"))

Properties​

NameTypeDefaultDescription
valuestringHTML code to insert.