ElementSetAttribute Method
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

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.11
Syntax
public void SetAttribute(
	string name,
	string value
)

Parameters

name
Type: SystemString
The attribute name.
value
Type: SystemString
The value.
See Also