HEX
Server: nginx/1.18.0
System: Linux vps-9dcdb12e 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.24
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /var/www/brutals.pl/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/index.md
---
title: PHP Simple HTML DOM Parser
---

A fast, simple and reliable HTML document parser for PHP.

Created by S.C. Chen, based on [HTML Parser for PHP 4](http://php-html.sourceforge.net/) by Jose
Solorzano.

# Parse any HTML document

PHP Simple HTML DOM Parser handles any HTML document, even ones that are considered
invalid by the [HTML](https://www.w3.org/TR/html/) specification.

# Select elements using CSS selectors

PHP Simple HTML DOM Parser supports CSS style selectors to navigate the DOM,
similar to [jQuery](https://jquery.com/).

# Download

* Download the latest version from [SourceForge](https://sourceforge.net/projects/simplehtmldom/)

# Contributing

* Request features on the [Feature Request Tracker](https://sourceforge.net/p/simplehtmldom/feature-requests/)
* Report bugs on the [Bug Tracker](https://sourceforge.net/p/simplehtmldom/bugs/)
* Get involved with the community on the [Discussions Board](https://sourceforge.net/p/simplehtmldom/discussion/)

# License

PHP Simple HTML DOM Parser is [Free Software](https://en.wikipedia.org/wiki/Free_software)
licensed under the [MIT License](https://opensource.org/licenses/MIT).