HTML
Besides the components, a template is ordinary HTML from a short list. Anything else is taken out before the widget is drawn, and the editor tells you so.
Elements
div span p strong em small b i br hr ul ol li dl dt dd h1 h2 h3 h4 h5 h6 section header footer article figure figcaption table thead tbody tr th td button label time meter progress
Attributes
On any element:
class title role hidden tabindex style value max min datetime
and any data-* or aria-* attribute. An inline style may only set custom properties (style="--fill: 62%"); put the rest in the widget’s style.
Events
Handlers run an action when something happens:data-hd-on- followed byclick, dblclick, longpress, change.Inline on… attributes are always removed.