<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>HTML parsing examples</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>One thing I noticed with the Python manual is that it does not have any examples. I wish it was structured like PHP online manulal (<A HREF="http://www.php.net/manual/" TARGET="_blank">http://www.php.net/manual/</A>) where people can add comments, etc.</FONT></P>

<P><FONT SIZE=2>Anyways, I am trying to figure out how to parse HTML with htmlllib and I am completely lost. Can somone give examples?</FONT>
<BR><FONT SIZE=2>Say, I have a file like this</FONT>
</P>

<P><FONT SIZE=2><html></FONT>
<BR><FONT SIZE=2><body></FONT>
<BR><FONT SIZE=2><p>Hello, World!</FONT>
<BR><FONT SIZE=2></body></FONT>
<BR><FONT SIZE=2></html></FONT>
</P>

<P><FONT SIZE=2>I would like to find methods and contents of <body> and contents of <p>. How would I do that?</FONT>
</P>

</BODY>
</HTML>