=head1 NAME HTML::DOM::Element::Body - A Perl class for representing 'body' elements in an HTML DOM tree =head1 SYNOPSIS use HTML::DOM; $doc = HTML::DOM->new; $elem = $doc->createElement('body'); $elem->bgColor('white'); # set attribute $elem->background; # get attribute $elem->tagName; # etc =head1 DESCRIPTION This class implements the 'body' element in an HTML::DOM tree. It implements the HTMLBodyElement DOM interface and inherits from L (q.v.). =head1 METHODS In addition to those inherited from HTML::DOM::Element and its superclasses, this class implements the following DOM methods: =over 4 =item aLink =item background =item bgColor =item link =item text =item vLink =back Each of these returns the corresponding HTML attribute. If you pass an argument, it will become the new value of the attribute, and the old value will be returned. It also overrides L's C method to delegate event handlers associated with HTML or DOM attributes with the window object (more precisely, whatever object is assigned to the document's L|HTML::DOM::EventTarget/event_parent>) instead of the body element. =head1 SEE ALSO L L