Source Code to Parse
<!DOCTYPE html>
<html>
    <head>
        <title>Hello world</title>
	<Style>
		body { height: 100% }
	</style>
    </head>
    <body style="width:100px; height: 30%">
        <p>Hello World</p>
    </body>
</html>
Output Token
  1	tag_begin	!DOCTYPE
  2	tag_value	html
  3	tag_end		!DOCTYPE
  4	tag_begin	HTML
  5	tag_begin	HEAD
  6	tag_begin	TITLE
  7	text		Hello world
  8	tag_end		TITLE
  9	tag_begin	STYLE
  10	css_id		body
  11	css_style	height = 100%
  12	tag_end		STYLE
  13	tag_end		HEAD
  14	tag_begin	BODY
  15	tag_style	width = 100px
  16	tag_style	height = 30%
  17	tag_end		BODY
  18	tag_begin	P
  19	text		Hello World
  20	tag_end		P
  21	tag_end		BODY
  22	tag_end		HTML
  23	eof