# html **Repository Path**: mirrors_chromium_googlesource/html ## Basic Information - **Project Name**: html - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-19 - **Last Updated**: 2025-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > [!IMPORTANT] > This repo has moved to https://github.com/dart-lang/tools/tree/main/pkgs/html [![Dart CI](https://github.com/dart-lang/html/actions/workflows/test-package.yml/badge.svg)](https://github.com/dart-lang/html/actions/workflows/test-package.yml) [![pub package](https://img.shields.io/pub/v/html.svg)](https://pub.dev/packages/html) [![package publisher](https://img.shields.io/pub/publisher/html.svg)](https://pub.dev/packages/html/publisher) A Dart implementation of an HTML5 parser. ## Usage Parsing HTML is easy! ```dart import 'package:html/parser.dart'; void main() { var document = parse( 'Hello world! HTML5 rocks!'); print(document.outerHtml); } ``` You can pass a String or list of bytes to `parse`. There's also `parseFragment` for parsing a document fragment, and `HtmlParser` if you want more low level control. ## Background This package was a port of the Python [html5lib](https://github.com/html5lib/html5lib-python) library.