Only check HTML files with first method