Checks for main elements in html doc