---
title: "href method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/svgaelementbuilder/href/"
product: "Aspose.SVG for Python via .NET API References"
---


## href {#str}

Sets the 'href' attribute of the SVG 'a' element, specifying the URL of the linked resource.


### Returns 


The current instance of SVGAElementBuilder for method chaining.


```python
def href(self, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| value | str | The URL to link to. |



### See Also
* module [`aspose.svg.builder`](../../)
* class [`SVGAElementBuilder`](/svg/python-net/aspose.svg.builder/svgaelementbuilder)
