ement and return it. *tag* is the element name, *attrs* is a dict containing element attributes. rà