| htEOF | Returned if no more tokens are available. |
| htText | Plain text. |
| htCharRef | Character reference, eg. Ӓ |
| htCharRefHex | Hex Character reference, eg. ᨫ |
| htEntityRef | Entity reference, eg. & |
| htStartTag | Beginning of start tag. |
| htEndTag | End tag. |
| htLineBreak | A line-break sequence. |
| htTagAttrName | Tag attribute name. |
| htTagAttrValueStart | Start of a tag attribute value. It's followed by text tokens, followed by htTagAttrValueEnd. |
| htTagAttrValueEnd | End of a tag attribute value. |
| htEmptyTag | Empty tag. |
| htComment | HTML comment. |
| htCommentEnd | HTML comment end. |
| htEmptyComment | Empty comment, ie <!> |
| htPITarget | Start of Processing Instruction (PI) tag. |
| htPI | PI information |
| htDeclaration | Start of SGML declaration tag. |
| htDeclarationText | Declaration tag information. |
| htCDATA | CDATA marked section |