HTML::DOM::Element::Head - A Perl class for representing 'head' elements in an HTML DOM tree
use HTML::DOM; $doc = HTML::DOM->new; $elem = $doc->createElement('html'); $elem->profile('http://profiles.com'); # set $elem->profile; # get $elem->tagName; # etc
This class implements the 'head' element in an HTML::DOM tree. It implements the HTMLHeadElement DOM interface and inherits from HTML::DOM::Element (q.v.).
The only method that this class implements itself and does not inherit is:
Returns (and optionally sets) the profile attribute.
profile
HTML::DOM
HTML::DOM::Element
To install HTML::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::DOM
CPAN shell
perl -MCPAN -e shell install HTML::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.