pub fn read_attribute<'a>(
element: &Element<'a>,
name: &str,
) -> Option<Cow<'a, str>>Expand description
An attribute’s value by its HTML name (class, data-title), as the HTML would spell
it: "" for a set boolean, None when unset, false or null.