package XUL::Node::Application::HTMLExample; use strict; use warnings; use Carp; use XUL::Node; use base 'XUL::Node::Application'; sub start { Window(VBox(FILL, HTML_H1(textNode => 'This is an

heading.'), HTML_H2(textNode => 'This is an

heading.'), HTML_H3(textNode => 'This is an

heading.'), HTML_H4(textNode => 'This is an

heading.'), HTML_Pre(textNode => "1st line of
 element.\nSecond line."),
		# for some reason mozilla only shows links if inside some HTML element
		HTML_Div(HTML_A(
			textNode => 'An  to http://www.mozilla.org, in this window',
			href     => 'http://www.mozilla.org',
			target   => 'new_browser',
		)),
	))
}

1;