This method is called to handle the end tag of an element (e.g. </div>).
html.parser/HTMLParser.handle_endtag
HTMLParser.handle_endtag