——package
Oak::Web::HTML::P;
use
strict;
=head1 NAME
Oak::Web::HTML::P - P HTML Tag (Container)
=head1 HIERARCHY
L<Oak::Object|Oak::Object>
L<Oak::Persistent|Oak::Persistent>
L<Oak::Component|Oak::Component>
L<Oak::Web::Visual|Oak::Web::Visual>
L<Oak::Web::Container|Oak::Web::Container>
L<Oak::Web::HTML::P|Oak::Web::HTML::P>
=head1 PROPERTIES
The Oak::Web::HTML::P object has the properties defined by W3C.
=cut
sub
valid_html_attributes {
my
$self
=
shift
;
(
$self
->core_attributes,
$self
->i18n_attributes,
$self
->events_attributes,
"align"
);
}
sub
start_container {
my
$self
=
shift
;
"<P"
;
$self
->print_html_attributes;
">"
;
}
sub
end_container {
"</P>"
;
}
1;
__END__
=head1 BUGS
Too early to determine. :)
=head1 COPYRIGHT
Copyright (c) 2001
Daniel Ruoso <daniel@ruoso.com>
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.