——package
Oak::Web::HTML::Dt;
use
strict;
=head1 NAME
Oak::Web::HTML::Dt - DT HTML Tag
=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::HTML::Dt|Oak::Web::HTML::Dt>
=head1 PROPERTIES
The Oak::Web::HTML::Dt object has the following properties:
=over
=item caption
The text inside the tag
=item All other defined by W3C.
This component will use all the available properties following
the rules of HTML4.01
=back
=cut
sub
valid_html_attributes {
my
$self
=
shift
;
(
$self
->core_attributes,
$self
->i18n_attributes,
$self
->events_attributes
);
}
sub
show {
my
$self
=
shift
;
$self
->SUPER::show;
"<DT"
;
$self
->print_html_attributes;
">"
.
$self
->get(
'caption'
).
"</DT>\n"
;
}
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.