Dart port of html5lib. For parsing HTML/HTML5 with Dart. Works in the client and on the server.
The HTMLDart package is a Dart implementation of an HTML5 parser that makes parsing HTML easy. It allows users to pass a String or list of bytes to parse, provides a method for parsing document fragments, and offers HtmlParser for more low-level control. The package was originally a port of the Python html5lib library.
The HTMLDart package provides a convenient and easy-to-use HTML5 parser in Dart. It offers flexibility in parsing HTML content, including the ability to parse document fragments and provides a low-level HtmlParser for more specific parsing requirements. With its origins as a port of the Python html5lib library, HTMLDart is a reliable tool for handling HTML parsing tasks in Dart projects.