Here is an flash application which reads some of the html tag and then gives the desired result.
I have used Action Script 3 for this application.
In the application you will get to know the usage of action listener (event listener), then Use of URLRequest etc. The rest I have defined below.