Macro

NAME HTML::Tag::Macro

SYNOPSIS

CSS

use HTML::Tag::Macro::CSS;
my $css = HTML::Tag::Macro::CSS.new(:href('css/file.css'));
# <link rel="stylesheet" href="css/file.css" type="text/css">

DETAIL

Macros are created and rendered tags but offer some automation.

CSS

Creates a ::link tag for CSS files

HTML::Tag::Macro::CSS accepts the same options as the ::link tag, but additionally :rel (defaulting to "stylesheet") and :type (defaulting to "text/css".

other macros

See the macro subdirectory

AUTHOR

Mark Rushing [email protected]

LICENSE

This is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

HTML::Tag v0.0.2

Generate simple, interleafable, HTML tags.

Authors

  • Mark Rushing

License

Artistic-2.0

Dependencies

XML::Entity::HTML

Test Dependencies

Provides

  • HTML::Tag
  • HTML::Tag::Exports
  • HTML::Tag::Macro
  • HTML::Tag::Macro::Form
  • HTML::Tag::Macro::List
  • HTML::Tag::Macro::Table
  • HTML::Tag::Tags

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.