Element.SetAttribute
Element.SetAttribute 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
public void SetAttribute(String name, String value)
Parameter | Type | Description |
---|---|---|
name | String | The attribute name. |
value | String | The value. |
See Also
- class Element
- package com.aspose.html.Dom
- package Aspose.HTML