There are 3rd party libs about that can parse html for you. However if you are just starting then I suggest setting your sights a bit lower.