0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.139.235.59


Current Path : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlNode/
Upload File :
Current File : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlNode/removeClass.md

---
title: removeClass
---

```php
removeClass ( [ mixed $class = null ] )
```

| Parameter | Description
| --------- | -----------
| `class`   | Specifies one or more class names to be removed.

Removes one or more class names from the current node.

**Remarks**

* To remove more than one class, separate the class names with space or provide them as an array.
* If no parameter is specified, this method will remove all class names from the current node.

**Examples**

```php
$node->removeClass('hidden');
$node->removeClass('article important');
$node->removeClass(array('article', 'new'));
$node->removeClass();
```