Function write_opening_tag

pub fn write_opening_tag<K: AsRef<str>, V: AsRef<str>>(output: &mut dyn Write, tag: &str, attributes: impl IntoIterator<Item = (K, V)>) -> Result

Writes an opening HTML tag, using an iterator to enumerate the attributes. Note that attribute values are automatically escaped.