---
title: "prefix property"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.dom/documentfragment/prefix/"
product: "Aspose.SVG for Python via .NET API References"
---


## prefix property


Returns the namespace prefix of the specified element, or null if no prefix is specified.

### Remarks 


Reference:

[DOM Standard](https://dom.spec.whatwg.org/#dom-element-prefix).
### Definition:
```python
@property
def prefix(self):
    ...
@prefix.setter
def prefix(self, value):
    ...
```

### See Also
* module [`aspose.svg.dom`](../../)
* class [`DocumentFragment`](/svg/python-net/aspose.svg.dom/documentfragment)
