Hubbub is an HTML5 compliant parsing library, written in C. It is currently in development for use with NetSurf and is intended to be suitable for use in other projects too.
You can browse the source code via the online interface.
If you would like to help develop Hubbub, please join the NetSurf developer mailing list.