According to this very informative article, the amount of code you need for a valid HTML5 page is quite small. In fact, it’s as simple as
<!DOCTYPE html> Smallest HTML file!
Modern web browsers will actually automatically fill in the rest the details for you. I believe it’s still good practice to include all of the proper HTML markup in your document. Just because browsers can rewrite your document for you doesn’t mean you should let them.