# HtmlElement.Name

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

## Name {#TinyComponents_HtmlElement_Name}

Gets or sets the name attribute of the HTML element.
The name is used to reference elements in JavaScript, or to reference form data after a form is submitted.

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

### Property Value

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