'Python dominator radio and label

How do I add the html section below, in my document width dominator (python library). Or rather where can I find examples.The dominator documentation doesn't help me here. I can create a string and add this in the document?

<input name="tabs" id="tab1" checked="checked" type="radio">
<label for="tab1">


Solution 1:[1]

After 3 day's struggling I found the answer.

with div(cls='tabs',id='tab1',checked='checked', type='radio'): 
      with label(fr ="tab1"):
           span(cls="material-icons").add('Shield')
           text('your tekst')

Edit: Sorry for being unclear. Best guide for finding all the correct tags https://github.com/Knio/dominate/blob/master/dominate/tags.py For the ones who want's to know. ;)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1