h1

Macro h1 

Source
macro_rules! h1 {
    ($content:expr) => { ... };
}
Expand description

Creates <h1> HTML element. The section heading level 1 element.

ยงExample

let h = h1!("Heading level 1");
assert_eq!("<h1>Heading level 1</h1>", h.to_string());