Returns the given
attribute value for the given
If the element does not have the given attribute, it returns
This is a difference to the native
Element#getAttribute(), which mostly returns
null in that case.
If the element has the attribute but without value (e.g. ''>), it returns an empty string.