from nicegui import ui from . import doc @doc.demo(ui.html) def main_demo() -> None: ui.html('This is HTML.') @doc.demo('Producing in-line elements', ''' Use the `tag` parameter to produce something other than a div. ''') def demo_inline() -> None: ui.html('This is emphasized.', tag='em') doc.reference(ui.html)