View file core/libs/htmlParser/manual/docs/api/simple_html_dom/getElementByTagName.md

File size: 265B
# getElementByTagName

```php
getElementByTagName ( string $name ) : object
```

Searches an element by tag name.

| Parameter | Description
| --------- | -----------
| `name`    | Tag name of the element to find.

Returns the element or null if no match was found.