> For the complete documentation index, see [llms.txt](https://negevvo.gitbook.io/clearlyjs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://negevvo.gitbook.io/clearlyjs/clearlyjsref/html-elements/clearlyhtml-elements/element.isclearlyhtml.md).

# Element.isClearlyHTML

A booleanic attribute of ClearlyHTML elements.

## Values

### true

This means the element is a ClearlyHTML element

### false or other values

This means the element is not a ClearlyHTML element

## Examples

{% tabs %}
{% tab title="JavaScript" %}

```javascript
var a = clrly.new("h1", {}, "hello"); // Create a new element with clrly.new
if(a.isClearlyHTML){ // Check if this is a ClearlyHTML element
    alert("yes!"); // Alert if it is
}
```

{% endtab %}

{% tab title="JSX" %}

```jsx
var a = <h1>hello</h1>; // Create a new element
if(a.isClearlyHTML){ // Check if this is a ClearlyHTML element
    alert("yes!"); // Alert if it is
}
```

{% endtab %}
{% endtabs %}

Check if the element is a ClearlyHTML element - if so - alert!
