## Element.HasAttributes method

Returns whether this node (if it is an element) has any attributes

```csharp
public bool HasAttributes()
```

### Return Value

boolean `true` if this node has any attributes, `false` otherwise.

### See Also

* class [Element](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
