function getAttribute (element, attrName) {
        return element.hasAttribute(attrName) ? element.getAttribute(attrName) : null;
    }
@param {HTMLElement} element Code block.
@param {String} attrName Attribute name.
@returns {String} Attribute value or empty.