---
title: "get_attribute_names method"
url: "https://reference.aspose.com/html/python-net/aspose.html/htmllabelelement/get_attribute_names/"
product: "Aspose.HTML for Python via .NET API References"
---


## get_attribute_names {#}

Returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.


### Returns 


Array of strings represents attribute names.


```python
def get_attribute_names(self):
    ...
```





### See Also
* module [`aspose.html`](../../)
* class [`HTMLLabelElement`](/html/python-net/aspose.html/htmllabelelement)
