set_attribute method
set_attribute
Adds a new attribute. If an attribute with that name is already present in the element, its value is changed to be that of the value parameter
def set_attribute(self, qualified_name, value):
...
Parameter | Type | Description |
---|---|---|
qualified_name | str | The attribute name. |
value | str | The value. |
See Also
- module
aspose.html
- class
HTMLPreElement