Name

handle_image

Synopsis

                        h.handle_image(source,alt,ismap='',align='',width='',height='')

Called for each <img> tag. Each argument is the string value of the tag’s attribute of the same name. HTMLParser’s implementation of handle_image calls h .handle_data( alt ).

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.