Is there anyway to determine whether an HTML file was written in HTML5?
oversimplified If it uses an HTML5 doctype, it's HTML5.
<!DOCTYPE html>