Name HTML::Accessors - Generate HTML elements Version 0.1.$Rev: 22 $ Synopsis use HTML::Accessors; my $htag = HTML::Accessors->new(); # Create an anchor element $anchor = $htag->a( { href => 'http://...' }, 'This is a link' ); Description Uses HTML::GenerateUtil to create an autoload method for each of the elements defined by HTML::Tagset. The API was loosely taken from CGI. Using the CGI module is undesirable in a Catalyst application (run from the development server) due go greediness issues over STDIN. The returned tags are either XHTML 1.1 or HTML 4.01 compliant. Subroutines/Methods new The constructor defines one attribute: content_type Defaults to *application/xhtml+xml* which causes the generated tags to conform to the XHTML standard. Setting it to *text/html* will generate HTML compatible tags instead escape_html Expose "HTML::GenerateUtil::escape_html" is_xml Returns true if the returned tags will be XHTML popup_menu Returns the "" element The rest of the keys and values are passed as attributes to the "