Start function for extracting an html element