Function write_opening_tag
fn write_opening_tag<Str, impl IntoIterator<Item = (Str, Str)>: IntoIterator<Item = (Str, Str)>>(output: &mut dyn Write, tag: &str, attributes: impl IntoIterator<Item = (Str, Str)>) -> io::Result<()>
where
Str: AsRef<str>
Writes an opening HTML tag, using an iterator to enumerate the attributes. Note that attribute values are automatically escaped.