---
title: "SVGScriptElement.Type"
url: "https://reference.aspose.com/html/net/aspose.html.dom.svg/svgscriptelement/type/"
product: "Aspose.HTML for .NET API Reference"
description: "SVGScriptElement Type property. Corresponds to attribute type on the given script element"
---

## SVGScriptElement.Type property

Corresponds to attribute ‘type’ on the given ‘script’ element.

```csharp
public string Type { get; set; }
```

### Property Value

The attribute ‘type’ of the given ‘script’ element.

### Exceptions

| exception | condition |
| --- | --- |
| [DOMException](../../../aspose.html.dom/domexception/) | Code [`NO_MODIFICATION_ALLOWED_ERR`](../../../aspose.html.dom/domexception/no_modification_allowed_err/). Raised on an attempt to change the value of a read only attribute. |

### See Also

* class [SVGScriptElement](../)
* namespace [Aspose.Html.Dom.Svg](../../../aspose.html.dom.svg/)
* assembly [Aspose.HTML](../../../)
