Extract all the text in the tags

Function that extracts the content of a html

The function should return anything that is in a tag