html.parser
Stdlib — NetworkingPython 2.0+Advanced
Simple HTML and XHTML parser
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
- Dependencies
- None — Python Standard Library
- Install
Included with Python
Learn by Difficulty
Quick Example
python
import html.parser print(f"Module: html.parser") print(f"Contents: {dir(html.parser)[:10]}")
The html.parser module is part of Python's standard library. Simple HTML and XHTML parser.
Try in PlaygroundTags
stdlibnetworkinginternet