# HTML as Rust types
This library lets you represent HTML using Rust types, so that you can
construct HTML, manipulate it, and generate HTML code for browsers.
This crate aims to follow the WhatWG specification at
.
## Example
~~~rust
use html_page::{Document, Element, Tag};
let title = Element::new(Tag::Title).with_text("my page");
let doc = Document::default().with_head_element(&title);
assert_eq!(format!("{}", doc), "\n\n\
my page\n