print h1({-class=>'Fancy'},'Welcome to the Party');
####
print h1({-style=>'Color: red;'},'Welcome to Hell');
####
print span({-style=>'Color: red;'},
h1('Welcome to Hell'),
"Where did that handbasket get to?"
);
####
use CGI qw/:standard :html3/;
#here's a stylesheet incorporated directly into the page
$newStyle=<
END
print header();
print start_html( -title=>'CGI with Style',
-style=>{-src=>'http://www.capricorn.com/style/st1.css',
-code=>$newStyle}
);
print h1('CGI with Style'),
p({-class=>'Tip'},
"Better read the cascading style sheet spec before playing with this!"),
span({-style=>'color: magenta'},
"Look Mom, no hands!",
p(),
"Whooo wee!"
);
print end_html;