Validation by URI works very well for html code that is on websites, but doesn't work for offline files.
Validation via file upload is good for finding mistakes in your html files.
Using direct input for validation is convienient if you are in a situation where copy and pasting code is the most convieniant option.