# HtmlElement.SelfClosing

Kind: Property  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.HtmlElement.SelfClosing.html

## SelfClosing {#TinyComponents_HtmlElement_SelfClosing}

Gets or sets a value indicating whether the element is self-closing.

```csharp
public bool SelfClosing { get; set; }
```

### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
