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
element.\nSecond line."), # for some reason mozilla only shows links if inside some HTML element HTML_Div(HTML_A( textNode => 'Anto http://www.mozilla.org, in this window', href => 'http://www.mozilla.org', target => 'new_browser', )), )) } 1;