use HTML::LinkExtractor; use Data::Dumper; local $Data::Dumper::Indent = 1; print Dumper( \%HTML::LinkExtractor::TAGS , \@HTML::LinkExtractor::VALID_URL_ATTRIBUTES ); __END__ $VAR1 = { 'tr' => [ 'background' ], 'base' => [ 'href' ], 'form' => [ 'action' ], 'body' => [ 'background' ], 'input' => [ 'dynsrc', 'lowsrc', 'src' ], 'a' => [ 'href' ], '!doctype' => [ 'url' ], 'img' => [ 'dynsrc', 'longdesc', 'lowsrc', 'src', 'usemap' ], 'object' => [ 'archive', 'classid', 'code', 'codebase', 'data', 'usemap' ], 'bgsound' => [ 'src' ], 'sound' => [ 'src' ], 'del' => [ 'cite' ], 'script' => [ 'src' ], 'applet' => [ 'archive', 'code', 'codebase', 'src' ], 'embed' => [ 'pluginspage', 'pluginurl', 'src' ], 'area' => [ 'href' ], 'iframe' => [ 'src' ], 'ilayer' => [ 'background', 'src' ], 'td' => [ 'background' ], 'blockquote' => [ 'cite' ], 'q' => [ 'cite' ], 'ins' => [ 'cite' ], 'th' => [ 'background' ], 'layer' => [ 'src' ], 'frame' => [ 'src', 'longdesc' ], 'meta' => undef, 'table' => [ 'background' ], 'isindex' => [ 'action' ], 'div' => [ 'src' ], 'link' => [ 'src', 'href' ] }; $VAR2 = [ 'action', 'archive', 'background', 'cite', 'classid', 'code', 'codebase', 'data', 'dynsrc', 'href', 'longdesc', 'lowsrc', 'pluginspage', 'pluginurl', 'src', 'usemap' ];