## Document.CreateAttribute method

Crea un Attr con il nome dato.

```csharp
public Attr CreateAttribute(string localName)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| localName | String | Il nome dell'attributo. |

### Valore di ritorno

Il[`Attr`](../../attr/) .

### Guarda anche

* class [Attr](../../attr/)
* class [Document](../)
* spazio dei nomi [Aspose.Html.Dom](../../document/)
* assemblea [Aspose.HTML](../../../)


