pub const DOCTYPE: PreEscaped<&'static str>;
Expand description
The literal string <!DOCTYPE html>
.
ยงExample
A minimal web page:
use maud::{DOCTYPE, html};
let markup = html! {
(DOCTYPE)
html {
head {
meta charset="utf-8";
title { "Test page" }
}
body {
p { "Hello, world!" }
}
}
};