How to get html tags from url?
Fetch it (using mechanize, urllib or whatever else you want), parse what you get (using elementtree, BeautifulSoup, lxml or whatever else you want) and you have what you want.
How would you get all the HTML tags from a URL and print them?