File "setAttribute.md"
Full Path: /var/www/html/wordpress/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/HtmlNode/setAttribute.md
File size: 255 bytes
MIME-type: text/plain
Charset: utf-8
```php
setAttribute ( string $name, string $value )
```
| Parameter | Description |
|-----------|-----------------|
| `name` | Attribute name |
| `value` | Attribute value |
Adds or sets an attribute in the current node to the specified value.