watson.html.elements.
TagMixin
Simple tag mixin used for all html tags.
All keyword arguments that get passed to __init__ will be converted into attributes for the element.
attributes
dict – a dictionary of attributes associated with the tag.
__init__
flatten_attributes
Flattens attributes into a single string of key=value pairs.
Attributes are sorted alphabetically.