Expand description
This is a type-safe HTML generator.
Example
let doc = html(&|h| {
h.head(&|head| {
head.title("Hello world!");
});
});
assert_eq!(doc, "<!DOCTYPE html><html><head><title>Hello world!</title></head></html>")
Traits
The type-safe interface for the <body>
tag.
The type-safe interface for the <head>
tag.
The type-safe interface for the <html>
tag.