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


## get_attribute {#str}

Retrieves an attribute value by name.


### Returns 


Returns attribute value


```python
def get_attribute(self, qualified_name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| qualified_name | str | The name of the attribute to retrieve. |



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