# HtmlElement.Id

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

## Id {#TinyComponents_HtmlElement_Id}

Gets or sets the ID attribute of the HTML element. 
Used to uniquely identify the element within the page.

```csharp
public string? Id { get; set; }
```

### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)?
