HTML::EasyTags is a Perl module to make well-formed XHTML or HTML 4 tags, lists.
SYNOPSIS
use HTML::EasyTags;
my $html = HTML::EasyTags->new();
$html->groups_by_default( 1 );
print
$html->start_html(
'This Is My Page',
$html->style( { type => 'text/css' },
$html->comment_tag( p(
"Click " .
$html->a( href => 'http://search.cpan.org', text => 'here' ) .
" for more."
),
$html->hr,
$html->table(
$html->tr( [
$html->th( [ 'Name', 'Count', 'URL', 'First Access' ] ),
$html->td( [ 'Old Page', 33, 'http://www.domain.com',
'1999/04/23 13:55:02' ] )
] )
),
$html->hr,
$html->form_start( method => 'post', action => 'http://localhost' ),
$html->p(
"What's your name? " .
$html->input( type => 'text', name => 'name' )
),
$html->p(
"What's the combination?" .
$html->input_group(
-type => 'checkbox',
-name => 'words',
-value => ['eenie', 'meenie', 'minie', 'moe'],
-checked => [1, 0, 1, 0],
-text => ['Eenie', 'Meenie', 'Minie', 'Moe'] ),
),
$html->p(
"What's your favorite colour? " .
$html->select_start( -size => 1, -name => 'color' ) .
$html->option_group(
-value => ['red', 'green', 'blue', 'chartreuse'],
-text => ['Red', 'Green', 'Blue', 'Chartreuse'] ) .
$html->select_end
),
$html->input( type => 'submit' ),
$html->form_end,
$html->end_html;
Product's homepage
Requirements:
· Perl