---
title: "get_attribute method"
url: "https://reference.aspose.com/finance/python-net/aspose.finance.xbrl.dom.html/htmlnoscriptelement/get_attribute/"
product: "Aspose.Finance for Python via .NET API References"
---


## get_attribute(name) {#str}

Gets an attribute value by name.

### Returns 


The attribute value.


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


| Parameter | Type | Description |
| :- | :- | :- |
| name | str | The attribute name. |



### See Also
* module [aspose.finance.xbrl.dom.html](../../)
* class [HTMLNoScriptElement](/finance/python-net/aspose.finance.xbrl.dom.html/htmlnoscriptelement)
