[](https://travis-ci.org/allsopp/p6-html-boredom) # HTML::BoreDOM Write HTML programmatically: > use HTML::BoreDOM; > put > h("html", > h("body", > h("h1", "Hello, World!"), > h("p", "Lorem ipsum...")));
Lorem ipsum...
The `h()` subroutine is imported automatically and returns an object (that stringifies to escaped HTML): > h("span", "foo"); HTML::BoreDOM::Element.new(tag => "span", attrs => ${}, children => $["foo"]) > ~h("span", "foo"); foo HTML attributes are optionally declared using named arguments: > ~h("a", :hrefLorem ipsum ...
## Caveats Inline `