.. _title: .. _h_tag: `title`/`h_tag` --------------- The `title` attribute is for setting the title or heading of a component. To customize the exact rendering you use `h_tag`. `title` ~~~~~~~ .. code-block:: python form = Form.create( auto__model=Artist, title='Custom title', ) .. raw:: html
▼ Hide result
Toggle structure
`h_tag` ~~~~~~~ .. code-block:: python form = Form.create( auto__model=Artist, h_tag__attrs__style__background='blue', ) .. raw:: html
▼ Hide result
Toggle structure